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

raftstore: fix check pending apply #1885

Merged
merged 2 commits into from
Jun 3, 2017

Conversation

BusyJay
Copy link
Member

@BusyJay BusyJay commented Jun 2, 2017

@siddontang @hhkbp2 @javaforfun PTAL

To add a stable test, we need to figure out a way to generate a snapshot without peer and step the store whenever we want.

@@ -210,6 +210,7 @@ pub struct Peer {

pub tag: String,

// Index of last scheduled committed raft log.
pub last_ready_idx: u64,
Copy link
Member

Choose a reason for hiding this comment

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

The name last_ready_idx makes me confused. How about last_applying_idx ?

@ngaut
Copy link
Member

ngaut commented Jun 2, 2017

LGTM, we need more review.

@lishuai87
Copy link
Contributor

LGTM

@siddontang siddontang added the RC3 label Jun 2, 2017
Copy link
Contributor

@siddontang siddontang left a comment

Choose a reason for hiding this comment

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

LGTM

@siddontang siddontang merged commit 99ed0c4 into master Jun 3, 2017
@siddontang siddontang deleted the busyjay/fix-check-pending-apply branch June 3, 2017 01:31
iosmanthus pushed a commit to iosmanthus/tikv that referenced this pull request Oct 17, 2024
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.

4 participants