-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#11353] geo: Create transaction tables automatically with tablespace…
… update Summary: Changed the tablespace update procedure to start transaction table creation for tablespaces which have placements set and at least one table in them (to account for tablespaces with bad placements). This should handle both tablespaces from previous versions with no associated transaction table, and tablespaces whose first table was through ALTER TABLE SET TABLESPACE. The transaction table creation hook in CreateTable is left in as an optimization. Test Plan: `ybd --cxx-test pgwrapper_geo_transactions-test --gtest_filter GeoTransactionsTest.TestAutomaticLocalTransactionTableCreationWithAlter` Reviewers: dsrinivasan Reviewed By: dsrinivasan Subscribers: rthallam, bogdan, ybase Differential Revision: https://phabricator.dev.yugabyte.com/D15601
- Loading branch information
Showing
3 changed files
with
120 additions
and
0 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