-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#23 before_command() wait for ongoing rollbacks leaks
Storing background rollbacker thread's ID in client state. Tis can be used for detecting if there is ongoing background rollback, and client should keep waiting in before_command() entry to avoid conflicts in accessing client state during background rollbacking. There is new public method for client_state: prepare_for_background_rollback() Background rollbacker thread should call this, before backround rollbacking starts, to assign himself as the rollbacker for the client. sync_rollback_complete() method has been modified to release the backround rollbacker thread from client_state
- Loading branch information
Showing
2 changed files
with
33 additions
and
1 deletion.
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