forked from vitessio/vitess
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SwitchTraffic should switch everything when no tablet_types provided (v…
…itessio#10434) * We should switch everything when no tablet_types provided * Update help output to clarify behavior * Update SwitchTraffic [all|default] tests for user facing client behavior Meaning that we don't explicitly specify a tablet_types value and leverage the command default which should be: in_order:RDONLY,REPLICA,PRIMARY This also requires that the tests actually create RDONLY tablets, so do that for the basic v2 workflow tests. * Properly handle SwitchTraffic default And test traffic switching of RDONLY tablets * Only add RDONLY tables in default Cell Signed-off-by: Matt Lord <[email protected]> Signed-off-by: Vilius Okockis <[email protected]>
- Loading branch information
Showing
3 changed files
with
62 additions
and
22 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