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

An unready store might be marked as reachable #1111

Closed
zyguan opened this issue Jan 12, 2024 · 0 comments · Fixed by #1127
Closed

An unready store might be marked as reachable #1111

zyguan opened this issue Jan 12, 2024 · 0 comments · Fixed by #1127

Comments

@zyguan
Copy link
Contributor

zyguan commented Jan 12, 2024

The health check loop will do reResolve periodically. If the store meta changed, a new store will be inserted and the old one will be marked as deleted. Both old store and new store are marked as reachable at the end of the health check loop. As a result, tidb may access this unready store and requests finally timeout.

zyguan added a commit to zyguan/client-go that referenced this issue Apr 28, 2024
disksing pushed a commit that referenced this issue Apr 28, 2024
iosmanthus added a commit that referenced this issue Jul 9, 2024
Co-authored-by: zzm <[email protected]>
Co-authored-by: glorv <[email protected]>
Co-authored-by: disksing <[email protected]>
Co-authored-by: cfzjywxk <[email protected]>
Co-authored-by: ShuNing <[email protected]>
Co-authored-by: ekexium <[email protected]>
Co-authored-by: Liqi Geng <[email protected]>
Co-authored-by: zyguan <[email protected]>
Co-authored-by: xufei <[email protected]>
Co-authored-by: crazycs <[email protected]>
fix: check kill signal against 0 (#1102)" (#1129)"
fix #1111 (#1324)
fix rpc client panic cause by concurrent close (#1358)
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 a pull request may close this issue.

1 participant