docs: public Collection<RaftSession> getSessions(PrimitiveId primitiveId) {
      return sessions.values().stream()
          .filter(session -> session.getService().serviceId().equals(primitiveId))
          .filter(session -> session.getState().active())
          .collect(Collectors.toSet());
    }