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

Cherry pick unsafe recovery related PRs #62

Open
wants to merge 4 commits into
base: raftstore-proxy-backup
Choose a base branch
from

Commits on May 18, 2022

  1. raftstore: Introduce force leader state (tikv#11932)

    close tikv#6107, ref tikv#10483
    
    Signed-off-by: Connor1996 <[email protected]>
    Connor1996 committed May 18, 2022
    Configuration menu
    Copy the full SHA
    e332ae4 View commit details
    Browse the repository at this point in the history
  2. raftstore: Wait ticks for hibernated peer when doing force leader (ti…

    …kv#12364)
    
    ref tikv#10483
    
    Force leader is rejected on a peer who is already a leader. For the hibernated leader,
    it doesn't step down to follower when quorum is missing due to not ticking election. 
    So wait ticks in force leader process for hibernated peers to make sure election ticking
    is performed.
    
    Signed-off-by: Connor1996 <[email protected]>
    
    Co-authored-by: Ti Chi Robot <[email protected]>
    Connor1996 and ti-chi-bot committed May 18, 2022
    Configuration menu
    Copy the full SHA
    c010a5f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7acedff View commit details
    Browse the repository at this point in the history
  4. raftstore: Execute recovery plan via raft (tikv#12022)

    Signed-off-by: Connor1996 <[email protected]>
    Connor1996 committed May 18, 2022
    Configuration menu
    Copy the full SHA
    f9659e2 View commit details
    Browse the repository at this point in the history