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#3979] YSQL Create Namespace Failure Handling
Summary: Working on integration between YSQL and DocDB for failure scenarios. I ran a number of create/delete commands with regular Sys Catalog failures. A number of issues arose: 1. Ensuring that we end the YBClient on a failure scenario where the 'done' flag is set. 2. Allowing YSQL to control name uniqueness instead of DOCDB to handle failure scenarios. 3. Proper logging of errors. An invalid CHECK would crash the server instead of logging an error. Test Plan: ./build/latest/bin/yb-ts-cli --server_address=127.0.0.1:7100 set_flag -force TEST_sys_catalog_write_rejection_percentage 33 ysqlsh CREATE DATABASE d; // looped CREATE TABLE t; // looped Reviewers: mihnea, bogdan, rahuldesirazu, hector Reviewed By: hector Subscribers: yql, ybase Differential Revision: https://phabricator.dev.yugabyte.com/D8619
- Loading branch information
1 parent
a53573b
commit 7d7f423
Showing
10 changed files
with
129 additions
and
34 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
Oops, something went wrong.