You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If (*client).dispatchTSORequestWithRetry directly calls tryDone() 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 old tsoClient may have data races with the new tsoClient when cleaning up residual TSO requests.
…data race (#8077)
close#8055, ref #8076
Use the TSO request pool at the `tsoClient` level to avoid data race.
Signed-off-by: JmPotato <ghzpotato@gmail.com>
Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
…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 <ghzpotato@gmail.com>
Co-authored-by: JmPotato <ghzpotato@gmail.com>
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: