Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor log fixes when failover auth denied due to slot epoch #1341

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Commits on Nov 22, 2024

  1. Minor log fixes when failover auth denied due to slot epoch

    The old reqEpoch mainly refers to requestCurrentEpoch, see:
    ```
        if (requestCurrentEpoch < server.cluster->currentEpoch) {
            serverLog(LL_WARNING, "Failover auth denied to %.40s (%s): reqEpoch (%llu) < curEpoch(%llu)", node->name,
                      node->human_nodename, (unsigned long long)requestCurrentEpoch,
                      (unsigned long long)server.cluster->currentEpoch);
            return;
        }
    ```
    
    And in here we refer to requestConfigEpoch, it's a bit misleading,
    so change it to reqConfigEpoch to make it clear.
    
    Signed-off-by: Binbin <[email protected]>
    enjoy-binbin committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    e161367 View commit details
    Browse the repository at this point in the history