-
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.
vttablet sidecar schema:use schemadiff to reach desired schema on tab…
…let init replacing the withDDL-based approach (#11520) * Add sidecardb module based schema init. Remove metatables. Conditionally disable withddl/health streamer schema init. Fix tests as needed. Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Implement review comments Signed-off-by: Rohit Nayak <rohit@planetscale.com> * update to column type Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> * Fix bug where we were using _vt before creating it. Added e2e test to CI Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Reinstate creating vtdatabase optionally Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Address review comments Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Fix missed function rename Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Use schemadiff's new ignore charset/collate hints Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Add comments to schema files. Normalize schema while reading from file to get rid of the comments and make related changes to tests Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Refactor e2e test Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Addressed more review comments Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Moved sidecar test helpers back to package since it is used in vtexplain Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Fix issues with setting up fakesqldb test queries Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Address new review comments Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Refactor the way we first create tables Signed-off-by: Rohit Nayak <rohit@planetscale.com> --------- Signed-off-by: Rohit Nayak <rohit@planetscale.com> Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Co-authored-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
- Loading branch information
1 parent
3f55e40
commit 4f5ab22
Showing
111 changed files
with
1,642 additions
and
2,139 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
Oops, something went wrong.