forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
store, config, session: Use system variables to enable async commit a…
…nd 1PC (pingcap#21365) * add a system variable for enabling async commit Signed-off-by: ekexium <[email protected]> * remove async commit enable config item Signed-off-by: ekexium <[email protected]> * add a system variable for enabling 1PC Signed-off-by: ekexium <[email protected]> * try to fix test Signed-off-by: ekexium <[email protected]> * remove 1pc item in config Signed-off-by: ekexium <[email protected]> * try to fix test Signed-off-by: ekexium <[email protected]> * correct the condition to enable 1pc Signed-off-by: ekexium <[email protected]> * do not enable 1pc/async commit on bootstrap if store is not tikv Signed-off-by: ekexium <[email protected]> * refactor checkAsyncCommit Signed-off-by: ekexium <[email protected]> * fix test: enable async commit or 1PC by setting txn options Signed-off-by: ekexium <[email protected]> * add a system variable for external consistency Signed-off-by: ekexium <[email protected]> * remove external consistency config item Signed-off-by: ekexium <[email protected]> * refactor: checkXXX does not need parameters Signed-off-by: ekexium <[email protected]> * refactor: add a helper function to pessimistic_test Signed-off-by: ekexium <[email protected]> * change allowed scope to global or session Signed-off-by: ekexium <[email protected]> * fix external consistency test Signed-off-by: ekexium <[email protected]> Co-authored-by: ti-srebot <[email protected]>
- Loading branch information
Showing
15 changed files
with
332 additions
and
362 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
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
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
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
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
Oops, something went wrong.