private List<FailedNode> resetNotAlive(Map<FailedNode, FailoverContext> failoverContexts) {
        List<FailedNode> reset = new LinkedList<>();
        for (FailoverContext ctx : failoverContexts.values()) {
            if (!clusterControlManager.isActive(ctx.getTarget())) {
                reset.add(ctx.getFailedNode());
            }
        }
        return reset;
    }
Reset the failover context whose target node is not alive
core/src/main/java/kafka/automq/failover/FailoverControlManager.java