Skip to content

[Fix] - Cluster leader failover loop if there is only a single leader#542

Merged
shubham-cmyk merged 5 commits intoOT-CONTAINER-KIT:masterfrom
shubham-cmyk:stopFailOver
Jul 4, 2023
Merged

[Fix] - Cluster leader failover loop if there is only a single leader#542
shubham-cmyk merged 5 commits intoOT-CONTAINER-KIT:masterfrom
shubham-cmyk:stopFailOver

Conversation

@shubham-cmyk
Copy link
Copy Markdown
Member

Description

Redis Cluster would go down in the broken state if the leader = 1 and follower = 0.
This PR tries to prevent that broken state.

Fixes #497

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • Testing has been performed
  • No functionality is broken
  • Documentation updated

shubham-cmyk and others added 5 commits July 4, 2023 16:21
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
@shubham-cmyk shubham-cmyk merged commit cd17bbc into OT-CONTAINER-KIT:master Jul 4, 2023
jiuker pushed a commit to jiuker/redis-operator-1 that referenced this pull request Jul 20, 2023
…OT-CONTAINER-KIT#542)

* Cluster leader failover on a single replica

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>

---------

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: guozhi.li <guozhi.li@daocloud.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Cluster leader failover loop if there is only a single leader (+ Fix)

1 participant