Open enjoy-binbin opened 4 days ago
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.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 70.78%. Comparing base (377ed22) to head (e161367).
377ed22
e161367
🚨 Try these New Features:
The old reqEpoch mainly refers to requestCurrentEpoch, see:
And in here we refer to requestConfigEpoch, it's a bit misleading, so change it to reqConfigEpoch to make it clear.