code: protected void failAttempt(MemberState member, Throwable error) {
      // Reset the connection to the given member to ensure failed connections are reconstructed upon retries.
      context.getConnections().resetConnection(member.getMember().serverAddress());
  
      // If any append error occurred, increment the failure count for the member. Log the first three failures,
      // and thereafter log 1% of the failures. This keeps the log from filling up with annoying error messages
      // when attempting to send entries to down followers.
      int failures = member.incrementFailureCount();
      if (failures <= 3 || failures % 100 == 0) {
        logger.warn("{} - AppendRequest to {} failed: {}", context.getCluster().member().address(), member.getMember().address(), error.getMessage());
      }
    }
docs: Fails an attempt to contact a member.