docs: protected void handleAppendResponseError(RaftMemberContext member, AppendRequest request, AppendResponse response) {
      // If we've received a greater term, update the term and transition back to follower.
      if (response.term() > raft.getTerm()) {
        log.debug("Received higher term from {}", member.getMember().memberId());
        raft.setTerm(response.term());
        raft.setLeader(null);
        raft.transition(RaftServer.Role.FOLLOWER);
      } else {
        super.handleAppendResponseError(member, request, response);
      }
    }