docs: public PrimaryBackupSession createSession(long sessionId, MemberId memberId) {
      PrimaryBackupSession session = new PrimaryBackupSession(SessionId.from(sessionId), memberId, service.serializer(), this);
      if (sessions.putIfAbsent(sessionId, session) == null) {
        service.register(session);
      }
      return session;
    }