docs: private void handleClusterEvent(ClusterMembershipEvent event) {
      PrimaryTerm term = this.term;
      if (term != null
          && event.type() == ClusterMembershipEvent.Type.MEMBER_REMOVED
          && event.subject().id().equals(term.primary().memberId())) {
        changeState(PrimitiveState.SUSPENDED);
      }
    }