Skip to content

raftstore: skip commit index check on wake up (#6966) - #6972

Merged
youjiali1995 merged 1 commit into
tikv:release-3.1from
sre-bot:release-3.1-3d6ebd48dd0c
Mar 2, 2020
Merged

raftstore: skip commit index check on wake up (#6966)#6972
youjiali1995 merged 1 commit into
tikv:release-3.1from
sre-bot:release-3.1-3d6ebd48dd0c

Conversation

@sre-bot

@sre-bot sre-bot commented Mar 2, 2020

Copy link
Copy Markdown
Contributor

cherry-pick #6966 to release-3.1


What have you changed?

Otherwise an uptodate learner can't wake up a sleeping leader.

Close #6965.

What is the type of the changes?

  • Bugfix

How is the PR tested?

  • Integration test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?

No.

Does this PR affect tidb-ansible?

No.

Refer to a related PR or issue link (optional)

#6648

Otherwise an uptodate learner can't wake up a sleeping leader.

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
@sre-bot

sre-bot commented Mar 2, 2020

Copy link
Copy Markdown
Contributor Author

/run-all-tests

@sre-bot sre-bot added sig/raft Component: Raft, RaftStore, etc. type/bugfix This PR fixes a bug. type/cherry-pick Type: PR - Cherry pick labels Mar 2, 2020
@sre-bot
sre-bot requested review from 5kbpers and gengliqi March 2, 2020 03:23
@youjiali1995 youjiali1995 added this to the v3.1.0-beta.2 milestone Mar 2, 2020
@youjiali1995
youjiali1995 merged commit 3aaa549 into tikv:release-3.1 Mar 2, 2020
solotzg pushed a commit to pingcap/tidb-engine-ext that referenced this pull request Mar 2, 2020
raftstore: skip commit index check on wake up
Otherwise an uptodate learner can't wake up a sleeping leader.

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sig/raft Component: Raft, RaftStore, etc. type/bugfix This PR fixes a bug. type/cherry-pick Type: PR - Cherry pick

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants