Closed
Conversation
Signed-off-by: notfelineit <notfelineit@gmail.com>
…ing-vtadmin-parity-tickets
Contributor
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
If a new flag is being introduced:
If a workflow is added or modified:
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
* Migrate dbconfigs to pflag And remove deprecated flags Signed-off-by: Matt Lord <mattalord@gmail.com> * Remove no longer needed function Signed-off-by: Matt Lord <mattalord@gmail.com> * Address review comments and test failures Signed-off-by: Matt Lord <mattalord@gmail.com> * Revert this bit as it changed behavior and caused some failures Signed-off-by: Matt Lord <mattalord@gmail.com> * Fix vttestserver unit tests Signed-off-by: Matt Lord <mattalord@gmail.com> * Fix vttestserver unit tests Signed-off-by: Matt Lord <mattalord@gmail.com> * Update vttestserver help output Signed-off-by: Matt Lord <mattalord@gmail.com> Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
Signed-off-by: Michael Gale <mgale@demonware.net> Signed-off-by: Michael Gale <mgale@demonware.net> Co-authored-by: Michael Gale <mgale@demonware.net>
* [cli] [etcd2] Migrate etcd2topo flags to pflags Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> * Fixing duplicate registration Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>
* [cli] [topo] Migrate topo flags to pflags Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> * fix vtorc test Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> * feat: fix VTOrc test Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: remove binaries from the list that don't need the flags Signed-off-by: Manan Gupta <manan@planetscale.com> * test: update flag help outputs Signed-off-by: Manan Gupta <manan@planetscale.com> * code review Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> * fix import formatting Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> Signed-off-by: Manan Gupta <manan@planetscale.com> Co-authored-by: Manan Gupta <manan@planetscale.com>
* feat: enable vtorc in backup tests Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: reorder verifying initial replication to happen first Signed-off-by: Manan Gupta <manan@planetscale.com> * test: increase timeout for VTOrc recovery to be successful and improve VTOrc performance Signed-off-by: Manan Gupta <manan@planetscale.com> Signed-off-by: Manan Gupta <manan@planetscale.com>
* Pre-work tidying: tidy imports, remove commented out code Signed-off-by: Andrew Mason <andrew@planetscale.com> * [rowlog] Migrate to pflag, add flag for testing resumability Closes vitessio#11408. Signed-off-by: Andrew Mason <andrew@planetscale.com> Signed-off-by: Andrew Mason <andrew@planetscale.com>
…ase notes (vitessio#11402) * flags etc: delete old flags and stats, add deprecation notice to release notes Signed-off-by: deepthi <deepthi@planetscale.com> * vrepl: fix tests to run SwitchReads with tablet_types flag instead of deprecated tablet_type Signed-off-by: deepthi <deepthi@planetscale.com> * pitr: fix tests to run SwitchReads with tablet_types flag instead of deprecated tablet_type Signed-off-by: deepthi <deepthi@planetscale.com> Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com> Signed-off-by: Manan Gupta <manan@planetscale.com>
* Migrate zk2topo and k8stopo to pflag Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Update flags help output Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Fix failing tests Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Fix help text output Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Fix help output Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Fix help text output Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Add vtorc to topo binaries Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Define k8stopo flags on all topo binaries. Change way flags are defined for tests Signed-off-by: Rohit Nayak <rohit@planetscale.com> * Update test help output files Signed-off-by: Rohit Nayak <rohit@planetscale.com> Signed-off-by: Rohit Nayak <rohit@planetscale.com>
* Release notes for 14.0.3 Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr> * Addition of the release summary for `v14.0.3` (vitessio#11396) * addition of empty release summary for 14.0.3 Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr> * feat: add a line describing the VTOrc bug fix Signed-off-by: Manan Gupta <manan@planetscale.com> Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr> Signed-off-by: Manan Gupta <manan@planetscale.com> Co-authored-by: Manan Gupta <manan@planetscale.com> Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr> Signed-off-by: Manan Gupta <manan@planetscale.com> Co-authored-by: Manan Gupta <manan@planetscale.com>
* feat: remove unused package Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: replace usage of external test package with require Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: replace using external copied dependency with actual dependency Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: remove unused external package Signed-off-by: Manan Gupta <manan@planetscale.com> Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com> Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com> Signed-off-by: Andres Taylor <andres@planetscale.com>
* expose /metrics from vtbackup http --port Signed-off-by: Max Englander <max@planetscale.com> * -mathrand seed Signed-off-by: Max Englander <max@planetscale.com> Signed-off-by: Max Englander <max@planetscale.com>
Signed-off-by: Andrew Mason <andrew@planetscale.com> Signed-off-by: Andrew Mason <andrew@planetscale.com>
…o#11424) Signed-off-by: Manan Gupta <manan@planetscale.com> Signed-off-by: Manan Gupta <manan@planetscale.com>
* [cli] [vtctl] Migrate all vtctl commands to `pflag` Closes vitessio#11304. Signed-off-by: Andrew Mason <andrew@planetscale.com> * fix test flags Signed-off-by: Andrew Mason <andrew@planetscale.com> * Handle subflag argument parsing without fully moving to cobra (yet!) Signed-off-by: Andrew Mason <andrew@planetscale.com> * update examples Signed-off-by: Andrew Mason <andrew@planetscale.com> * strip off double-dash Signed-off-by: Andrew Mason <andrew@planetscale.com> * Fix pflag getting tripped on shard 0 bounded shard names Signed-off-by: Andrew Mason <andrew@planetscale.com> * remove commented-out code Signed-off-by: Andrew Mason <andrew@planetscale.com> * update release notes Signed-off-by: Andrew Mason <andrew@planetscale.com> * fix ExecuteHook, which takes no flags Signed-off-by: Andrew Mason <andrew@planetscale.com> * add deprecation notice around interspersal Signed-off-by: Andrew Mason <andrew@planetscale.com> * fix flags for vtctld2 web calls Signed-off-by: Andrew Mason <andrew@planetscale.com> * Run make web_build Signed-off-by: notfelineit <notfelineit@gmail.com> * test: fix vtctld_web_test Signed-off-by: deepthi <deepthi@planetscale.com> * update test assertions Signed-off-by: Andrew Mason <andrew@planetscale.com> * just double-dash everything Signed-off-by: Andrew Mason <andrew@planetscale.com> * Run make web_build Signed-off-by: notfelineit <notfelineit@gmail.com> Signed-off-by: Andrew Mason <andrew@planetscale.com> Signed-off-by: notfelineit <notfelineit@gmail.com> Signed-off-by: deepthi <deepthi@planetscale.com> Co-authored-by: notfelineit <notfelineit@gmail.com> Co-authored-by: deepthi <deepthi@planetscale.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
…1153) * Move towards MySQL 8.0 as the default template generation This upgrades the remaining things to Ubuntu 20.04 and makes MySQL 8.0 the default we run tests against. We still have tests for MySQL 5.7 but those are now explicitly opted into. This should finish up the Ubuntu 20.04 upgrade and also makes things easier for the future when we need to upgrade again. Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com> * CI: rename shard vtorc_8.0 to vtorc_5.7, change expected test output for 8.0 Signed-off-by: deepthi <deepthi@planetscale.com> * CI: increase timeout for 8.0 tests on the actual test step from 30 to 45 mins Signed-off-by: deepthi <deepthi@planetscale.com> * CI: increase timeout to 45 minutes for mysql57 tests too. We really only need this for vtorc, but I've made the change to the template so all tests get it. Signed-off-by: deepthi <deepthi@planetscale.com> * CI: fix vtorc test to work with both 5.7 and 8.0 Signed-off-by: deepthi <deepthi@planetscale.com> * CI: missed docker flag in mysql57 template, one more fix to vtorc test Signed-off-by: deepthi <deepthi@planetscale.com> * removing spaces from pb file Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> * removing spaces in pb file part 2 Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com> Signed-off-by: deepthi <deepthi@planetscale.com> Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> Co-authored-by: deepthi <deepthi@planetscale.com> Co-authored-by: Rameez Sajwani <rameezwazirali@hotmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
) * When restarting workflow, use new context Otherwise the restart will also fail due to the expired/canceled context: E0929 14:06:08.618848 85788 vdiff.go:247] Could not restart workflow commerce2customer: rpc error: code = Canceled desc = context canceled, please restart it manually E0929 14:06:08.619983 85788 vtctl.go:2630] vdiff returning with error: rpc error: code = Canceled desc = context canceled Signed-off-by: Matt Lord <mattalord@gmail.com> * Add retry when restarting workflows on ephemeral errors Signed-off-by: Matt Lord <mattalord@gmail.com> * Correct mistake that prevented compilation :face-palm: Signed-off-by: Matt Lord <mattalord@gmail.com> Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr> Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com> Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: notfelineit <notfelineit@gmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
Signed-off-by: notfelineit <notfelineit@gmail.com>
…:planetscale/vitess into frances/remaining-vtadmin-parity-tickets Signed-off-by: notfelineit <notfelineit@gmail.com>
Contributor
Author
|
Closing this for #11438 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR completes "VTAdmin Parity" by implementing:
ValidateValidateShardValidate

Validate is added to the clusters list, since validation occurs at the cluster level:
ValidateShard

Related Issue(s)
Checklist
Deployment Notes