-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize Tablet with super_read_only mode (#12206)
* Adding super read only in cnf file Signed-off-by: Rameez Sajwani <[email protected]> * add new init sql file for unit test Signed-off-by: Rameez Sajwani <[email protected]> * enable super-readonly by default Signed-off-by: Rameez Sajwani <[email protected]> * Fixing some arrangement for super-read-only Signed-off-by: Rameez Sajwani <[email protected]> * Fix end to end tests Signed-off-by: Rameez Sajwani <[email protected]> * fix rpc_replication issue Signed-off-by: Rameez Sajwani <[email protected]> * Fixing backup tests Signed-off-by: Rameez Sajwani <[email protected]> * fixing error with spacing in init sql file Signed-off-by: Rameez Sajwani <[email protected]> * vtgate end to end fixes Signed-off-by: Rameez Sajwani <[email protected]> * some more test fixes Signed-off-by: Rameez Sajwani <[email protected]> * fixing flag tests and more Signed-off-by: Rameez Sajwani <[email protected]> * fixing schema sql Signed-off-by: Rameez Sajwani <[email protected]> * fixing unit tests Signed-off-by: Rameez Sajwani <[email protected]> * fixing vttest server test cases Signed-off-by: Rameez Sajwani <[email protected]> * fixing more downgrad upgrade test Signed-off-by: Rameez Sajwani <[email protected]> * fixing reparent upgrade downgrade test Signed-off-by: Rameez Sajwani <[email protected]> * Bug fix for replication position Signed-off-by: Rameez Sajwani <[email protected]> * Fixing vtexplain tests Signed-off-by: Rameez Sajwani <[email protected]> * Fixing mariadb initialization Signed-off-by: Rameez Sajwani <[email protected]> * fixing upgrade downgrade e2e test Signed-off-by: Rameez Sajwani <[email protected]> * Fixing assignment of init sql db file Signed-off-by: Rameez Sajwani <[email protected]> * code clean up Signed-off-by: Rameez Sajwani <[email protected]> * Fixing backup test Signed-off-by: Rameez Sajwani <[email protected]> * adding super read only api for sql demon Signed-off-by: Rameez Sajwani <[email protected]> * converting read-only calls to super-read-only calls Signed-off-by: Rameez Sajwani <[email protected]> * restructure vtexplain code to be more generic Signed-off-by: Rameez Sajwani <[email protected]> * forgot to make proto vtadmin Signed-off-by: Rameez Sajwani <[email protected]> * Code review part-1 Signed-off-by: Rameez Sajwani <[email protected]> * remove code for redolog in test Signed-off-by: Rameez Sajwani <[email protected]> * fix ensureDB test Signed-off-by: Rameez Sajwani <[email protected]> * code review part-2 Signed-off-by: Rameez Sajwani <[email protected]> * Remove setSuperReadOnly checks Signed-off-by: Rameez Sajwani <[email protected]> * code review part-3 Signed-off-by: Rameez Sajwani <[email protected]> * Try restoring without super_read_only Signed-off-by: Rameez Sajwani <[email protected]> * test: simplify vtorc test to not require turning off super-read-only Signed-off-by: Manan Gupta <[email protected]> * code review part-4 Signed-off-by: Rameez Sajwani <[email protected]> * Fixing typo Signed-off-by: Rameez Sajwani <[email protected]> * code review part-5 Signed-off-by: Rameez Sajwani <[email protected]> * clean up some code Signed-off-by: Rameez Sajwani <[email protected]> * test: fix vtorc test Signed-off-by: Manan Gupta <[email protected]> * Code clean up - part 2 Signed-off-by: Rameez Sajwani <[email protected]> * Adding summary Signed-off-by: Rameez Sajwani <[email protected]> * code cleanup Signed-off-by: Rameez Sajwani <[email protected]> * Removing init_testserver to test its dependenciesy Signed-off-by: Rameez Sajwani <[email protected]> * fixing downgrade/upgrade and bringing back mariadb check Signed-off-by: Rameez Sajwani <[email protected]> * Removing mariadb check from vttest Signed-off-by: Rameez Sajwani <[email protected]> * deprecating `use_super_read_only` flag Signed-off-by: Rameez Sajwani <[email protected]> * Modify FullStatus test Signed-off-by: Rameez Sajwani <[email protected]> * code clean-up Signed-off-by: Rameez Sajwani <[email protected]> * code cleanup - part 2 Signed-off-by: Rameez Sajwani <[email protected]> * fixing fullstatus test Signed-off-by: Rameez Sajwani <[email protected]> * code review feedback Signed-off-by: Rameez Sajwani <[email protected]> * fixing summary and some minor cleanup Signed-off-by: Rameez Sajwani <[email protected]> * remove extra logging Signed-off-by: Rameez Sajwani <[email protected]> * moving init_testserver_db under test folder Signed-off-by: Rameez Sajwani <[email protected]> * fixing code comment Signed-off-by: Rameez Sajwani <[email protected]> * trying out password db init file for PITR test Signed-off-by: Rameez Sajwani <[email protected]> * remove read-only flag from default.cnf Signed-off-by: Rameez Sajwani <[email protected]> * Removing QueryTabletWithSuperReadOnlyHandling method Signed-off-by: Rameez Sajwani <[email protected]> * moving flag at right place Signed-off-by: Rameez Sajwani <[email protected]> * code review feedback Signed-off-by: Rameez Sajwani <[email protected]> * fixing require.noerror check Signed-off-by: Rameez Sajwani <[email protected]> * code review - part 2 Signed-off-by: Rameez Sajwani <[email protected]> * code review phase 3 Signed-off-by: Rameez Sajwani <[email protected]> * revert uncommented code Signed-off-by: Rameez Sajwani <[email protected]> --------- Signed-off-by: Rameez Sajwani <[email protected]> Signed-off-by: Manan Gupta <[email protected]> Co-authored-by: Manan Gupta <[email protected]>
- Loading branch information
1 parent
1d18df4
commit 3490385
Showing
70 changed files
with
924 additions
and
252 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
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
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.