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