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

[Dynamic Regions] Follower read is not working in raftstore v2 #14701

Closed
overvenus opened this issue May 8, 2023 · 0 comments · Fixed by #14706
Closed

[Dynamic Regions] Follower read is not working in raftstore v2 #14701

overvenus opened this issue May 8, 2023 · 0 comments · Fixed by #14706

Comments

@overvenus
Copy link
Member

overvenus commented May 8, 2023

Bug Report

Follower read is not implemented in raftstorev2, and requests are blocked forever.

This issue is found in #14633.

What version of TiKV are you using?

v7.0.0

Steps to reproduce

Run follower read in TiDB.

What did you expect?

It works.

What did happened?

Requests are blocked, and query timeout.

@overvenus overvenus added type/bug Type: Issue - Confirmed a bug severity/major labels May 8, 2023
ti-chi-bot bot added a commit that referenced this issue May 11, 2023
close #14701

raftstore-v2: implement replica read

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot bot pushed a commit that referenced this issue May 11, 2023
close #14701, ref #14706

raftstore-v2: implement replica read

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Neil Shen <overvenus@gmail.com>
ti-chi-bot bot pushed a commit that referenced this issue May 16, 2023
ref #14701

raftstore-v2: check locks on step read index

Signed-off-by: Neil Shen <overvenus@gmail.com>
ti-chi-bot bot added a commit that referenced this issue May 17, 2023
ref #14701, ref #14736

raftstore-v2: check locks on step read index

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Neil Shen <overvenus@gmail.com>
Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant