docs: public DistributedLogServer.Role getRole() {
      return Objects.equals(Futures.get(primaryElection.getTerm()).primary().memberId(), clusterMembershipService.getLocalMember().id())
          ? DistributedLogServer.Role.LEADER
          : DistributedLogServer.Role.FOLLOWER;
    }