Improving ConfigCheckSeconds for a faster failover detection by deepakverma · Pull Request #1735 · StackExchange/StackExchange.Redis

@deepakverma

Fixes info command storm on a disconnect
After a master node disconnect performs ConfigCheckSeconds on replica nodes with an exponential backoff

@deepakverma

After a master node disconnect performs ConfigCheckSeconds on replica nodes with an exponential backoff

NickCraver

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this one's good - would like a name tweak for clarity though please!



// Forces frequent replication check starting from 1 second upto max ConfigCheckSeconds with an exponential increment
internal void ForceExponentiallyReplicationCheck()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename this for clarity please?

internal void ForceExponentiallyReplicationCheck()
internal void ForceExponentialBackoffReplicationCheck()

@NickCraver NickCraver linked an issue

May 25, 2021

that may be closed by this pull request

@deepakverma

philon-msft

NickCraver

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looking good, thanks for the tweaks!

@NickCraver NickCraver changed the title improving configcheckseconds for a faster failover detection Improving ConfigCheckSeconds for a faster failover detection

May 26, 2021

NickCraver pushed a commit that referenced this pull request

May 26, 2021

@deepakverma deepakverma deleted the MarkServerEndpointsForReplicationRoleRefresh branch

May 26, 2021 21:17