boolean maybeAbortReconciliation() {
        boolean shouldAbort = state != MemberState.RECONCILING || rejoinedWhileReconciliationInProgress;
        if (shouldAbort) {
            String reason = rejoinedWhileReconciliationInProgress ?
                "the member has re-joined the group" :
                "the member already transitioned out of the reconciling state into " + state;
            log.info("Interrupting reconciliation that is not relevant anymore because " + reason);
            markReconciliationCompleted();
        }
        return shouldAbort;
    }
@return True if the reconciliation in progress should not continue. This could be because
the member is not in RECONCILING state anymore (member failed or is leaving the group), or
if it has rejoined the group (note that after rejoining the member could be RECONCILING
again, so checking the state is not enough)
clients/src/main/java/org/apache/kafka/clients/consumer/internals/MembershipManagerImpl.java