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

Add new read response for reject follower read when follower log behind of read index a lot. #1171

Closed
wants to merge 3 commits into from

Conversation

bufferflies
Copy link
Contributor

tikv pr:tikv/tikv#15270
tikv issue: tikv/tikv#15189

Signed-off-by: bufferflies <[email protected]>
Signed-off-by: bufferflies <[email protected]>
Comment on lines 166 to 168
uint64 read_index = 2;
uint64 apply_index = 3;
uint64 peer_id = 4;
Copy link
Member

Choose a reason for hiding this comment

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

Are they necessary for error handling? How are they used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, only used for debug, I will change it as reason.

Signed-off-by: bufferflies <[email protected]>
@bufferflies bufferflies deleted the follower_read branch September 5, 2023 09:40
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.

2 participants