-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: fix connExecutor extraTxnState autoRetryCounter race condition
Previously, a race condition could happen when calling serialize() which read the ExtraTxnState.autoRetryCounter and the counter being incremented. One case this can happen is when autoRetryCounter is incremented while querying crdb_internal.node_sessions. Release note: None
- Loading branch information
1 parent
ecab739
commit dc5f8a8
Showing
2 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters