-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#3035][YSQL] Table colocation drop flow
Summary: Currently, table colocation is supported for the create flow: `CREATE DATABASE`, `CREATE TABLE`, and `CREATE INDEX` including opt-out. Work on supporting the drop flow. * Add support for `DROP DATABASE` on colocated databases. * Add support for `DROP TABLE` on colocated tables with the caveat that data for the table does not get deleted. In the meantime, to work around this issue, execute `DELETE FROM <table>` before `DROP TABLE <table>`. * Omit support for `TRUNCATE`. For now, executing `TRUNCATE` on a colocated table will delete **all data** (including those of other tables) from its parent tablet. * Update tests. Test Plan: * `./yb_build.sh --cxx-test pg_libpq-test --gtest_filter PgLibPqTest.TableColocation` * `./yb_build.sh --java-test org.yb.pgsql.TestPgRegressBetaFeatures` Reviewers: neha Reviewed By: neha Subscribers: yql, bogdan Differential Revision: https://phabricator.dev.yugabyte.com/D7737
- Loading branch information
Jason Kim
committed
Jan 15, 2020
1 parent
b80d46c
commit 306f53b
Showing
20 changed files
with
419 additions
and
36 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
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.