code: protected void handleAppendRequestFailure(MemberState member, AppendRequest request, Throwable error) {
      super.handleAppendRequestFailure(member, request, error);
  
      // Trigger commit futures if necessary.
      updateHeartbeatTime(member, error);
    }
docs: Handles an append failure.