forked from yugabyte/yugabyte-db
-
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.
[yugabyte#9593] docdb - Move client-side subtransaction state to YBTr…
…ansaction Summary: We previously had SubTransactionMetadata living in PgTxnManager in order to allow tracking changes to this state before a transaction was taken. This revision modifies the behavior of PgTxnManager to take a transaction and initialize it's txn_ instance as soon as any SubTransactionMetadata state is interacted with. By doing this, we can move SubTransactionMetadata into YBTransaction. Test Plan: ybd --java-test 'org.yb.pgsql.TestPgSavepoints' ybd --java-test 'org.yb.pgsql.TestPgRegressTransactionSavepoints' Reviewers: dmitry, sergei Reviewed By: sergei Subscribers: mbautin, bogdan, ybase Differential Revision: https://phabricator.dev.yugabyte.com/D12679
- Loading branch information
1 parent
8902ff5
commit ea03c55
Showing
6 changed files
with
94 additions
and
42 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