-
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.
VTOrc: Update the primary key for all the tables from `hostname, port…
…` to `alias` (#13243) * feat: remove unused code and rename orchestrator file Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: remove code for hostname resolution since it is unrequired Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: remove more unused code and tables Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: remove database_instance_downtime from VTOrc as we weren't inserting into it Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: get rid of group replication information that isn't required Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: fix bugs Signed-off-by: Manan Gupta <manan@planetscale.com> * test: fix insert queries for test Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: introduce alias in all the tables and use it as the primary key and for joins Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: fix all the unit tests Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: fix end to end test expectations Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: remove unused parameters Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: add test for auditInstanceAnalysisInChangelog Signed-off-by: Manan Gupta <manan@planetscale.com> * test: augment test to also verify reading of audit operations works as intended Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: remove generics code in VTOrc around durability policies since it is not required anymore Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: add tests for more functions changed in this PR Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: refactor forgetting instance code a little and add tests for it Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: fix snapshot topologies code and add test for it Signed-off-by: Manan Gupta <manan@planetscale.com> * test: add tests for savetablet and readtablet Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: fix remaining tests Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: fix comment Signed-off-by: Manan Gupta <manan@planetscale.com> --------- Signed-off-by: Manan Gupta <manan@planetscale.com>
- Loading branch information
1 parent
c954324
commit bf7064e
Showing
50 changed files
with
1,348 additions
and
4,118 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
Oops, something went wrong.