-
Notifications
You must be signed in to change notification settings - Fork 726
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
Unsafe data race caused by the global TSO request pool #8076
Labels
affects-8.1
This bug affects the 8.1.x(LTS) versions.
severity/critical
type/bug
The issue is confirmed as a bug.
Comments
JmPotato
added
affects-8.1
This bug affects the 8.1.x(LTS) versions.
and removed
may-affects-5.4
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
may-affects-8.1
labels
Apr 16, 2024
ti-chi-bot bot
added a commit
that referenced
this issue
Apr 17, 2024
…data race (#8077) close #8055, ref #8076 Use the TSO request pool at the `tsoClient` level to avoid data race. Signed-off-by: JmPotato <[email protected]> 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
Apr 30, 2024
…data race (#8077) (#8141) close #8055, ref #8076 Use the TSO request pool at the `tsoClient` level to avoid data race. Signed-off-by: JmPotato <[email protected]> Co-authored-by: JmPotato <[email protected]>
This was referenced Apr 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-8.1
This bug affects the 8.1.x(LTS) versions.
severity/critical
type/bug
The issue is confirmed as a bug.
Bug Report
If
(*client).dispatchTSORequestWithRetry
directly callstryDone()
due to the error of context canceled, the caller might get the TSO result and put the request back into the pool. At this time, the oldtsoClient
may have data races with the newtsoClient
when cleaning up residual TSO requests.This is also the root cause of #8055.
The text was updated successfully, but these errors were encountered: