You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ vtctlclient -server 127.0.0.1:15999 ApplyRoutingRules -rules="$(cat /tmp/foo.json)" -dry-run
flag provided but not defined: -dry-run
Usage: ApplyRoutingRules {-rules=<rules> || -rules_file=<rules_file>} [-cells=c1,c2,...] [-skip_rebuild] [-dry-run]
Applies the VSchema routing rules.
-cells value
If specified, limits the rebuild to the cells, after upload. Ignored if skipRebuild is set.
-rules string
Specify rules as a string
-rules_file string
Specify rules in a file
-skip_rebuild
If set, do no rebuild the SrvSchema objects.
ApplyRoutingRules Error: rpc error: code = Unknown desc = flag provided but not defined: -dry-run
From the usage, it can be seen that a -dry-run option is advertised; but it does not actually exist, as a glance at the Vitess source will also show.
E.g.:
From the usage, it can be seen that a
-dry-run
option is advertised; but it does not actually exist, as a glance at the Vitess source will also show.The documentation also refers to this in various places, e.g. https://vitess.io/docs/reference/features/schema-routing-rules/#applyroutingrules
The text was updated successfully, but these errors were encountered: