vitess-gh/vitess-mixin/e2e
Manan Gupta e7f98f859c
VTOrc Cleanup - Configs, APIs and old UI (#11356)
* feat: remove configurations that aren't needed like raft and initialization of database

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: use waitreplicastimeout for all timeouts related to waiting for execution on a replica

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove agents in vtorc since we don't use them

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove more unused configurations

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: cleanup post and pre processes that VTOrc doesn't intend to support

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove unused code and config for shell process

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove unused configurations

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: convert flags to pflag architecture

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove cli flags which aren't required

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove more unused configs

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove the old UI of orchestrator and cleanup app and http packages

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove web/vtorc files and fix Dockerfiles to not try to copy them

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix all the examples to not pass in the ListenAddress and not export port for the old UI

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove raft code and command applier

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove unused code and configs

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove more unused code

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove http configs that are no longer required

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove more unused configs and dead code

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove more unused configs

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove access tokens since they are unused

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove RecoveryPeriodBlockMinutes which was only for backward compatibility

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove unused package

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove replicas in instance since they weren't used anywhere

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: copy over vtorc things that vtgr was using to remove vtgr's dependency on vtorc package

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: change restart function to use tmc rpc calls

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove detection queries for vtorc since we read these from topo-server

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: improve read topology test to also verify the errantGTID set

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: use internal function to find difference in gtid sets instead of using the MySQL connection

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove population of group replication information

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove configs related to connecting to MySQL instances since it is no longer required

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove code to connect to MySQL backend since VTOrc now only uses SQLite3

Signed-off-by: Manan Gupta <manan@planetscale.com>

* cleanup: go mod tidy

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove unused/redundant flags, we are down to 0 :)

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove filtering configs

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove write buffering and associated config parameters

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove more miscellaneous configs

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove one more rejection parameter

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: move discovery queue parameters to be constants

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: move some more configs to be constants

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add flags for all the configurations we have kept

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix imports in main.go

Signed-off-by: Manan Gupta <manan@planetscale.com>

* test: fix vtorc test output after so many changes

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add release-notes docs for config changes

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove index definitions for tables that are already deleted

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add API removal documentation as well to release notes

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: remove duplication of debug pages in release notes

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: use some flags in e2e test to verify they work

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: use sliceVar for the flag definition of cluster_to_watch

Signed-off-by: Manan Gupta <manan@planetscale.com>

Signed-off-by: Manan Gupta <manan@planetscale.com>
2022-09-30 22:11:02 +05:30
..
backups Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
config Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
cypress Delete all legacy sharding related code (#10278) 2022-07-07 13:52:32 -04:00
external_db Deprecate enable-semi-sync in favour of RPC parameter (#10695) 2022-07-22 21:35:15 +05:30
grafana/provisioning Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
prometheus Delete all legacy sharding related code (#10278) 2022-07-07 13:52:32 -04:00
tables Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
vtcompose vtgate pflags migration (#11318) 2022-09-26 19:35:22 +05:30
vtorc VTOrc Cleanup - Configs, APIs and old UI (#11356) 2022-09-30 22:11:02 +05:30
.env Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
Dockerfile Add new dashboards, 2021-02-16 16:58:27 +00:00
cypress.json Add new dashboards, 2021-02-16 16:58:27 +00:00
dbcli.sh Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
default_vschema.json Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
docker-compose.beginners.yml vtgate pflags migration (#11318) 2022-09-26 19:35:22 +05:30
docker-compose.dev.yml Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
docker-compose.vt.yml vtgate pflags migration (#11318) 2022-09-26 19:35:22 +05:30
docker-compose.yml Add new dashboards, 2021-02-16 16:58:27 +00:00
externaldb_vreplication.sh Changed master to primary 2022-01-12 18:51:44 -08:00
fix_replication.sh Changed master to primary 2022-01-12 18:51:44 -08:00
lfixrepl.sh Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
lmysql.sh Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
load_test.sql Changed master to primary 2022-01-12 18:51:44 -08:00
lookup_keyspace_vschema.json Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
lvtctl.sh Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
package-lock.json Bump minimist and cypress in /vitess-mixin/e2e (#11201) 2022-09-12 13:48:47 -07:00
package.json Bump minimist and cypress in /vitess-mixin/e2e (#11201) 2022-09-12 13:48:47 -07:00
run-forever.sh Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
schemaload.sh Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
tablet.yml Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
test_keyspace_vschema.json Add make targets for testing with compose. 2021-05-21 15:49:23 +01:00
vtorc-up.sh VTOrc Cleanup - Configs, APIs and old UI (#11356) 2022-09-30 22:11:02 +05:30
vttablet-up.sh Deprecate enable-semi-sync in favour of RPC parameter (#10695) 2022-07-22 21:35:15 +05:30