-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vtctlclient SwitchReads with -dry_run results in unexpected lock errors #6480
Comments
Fixed via #6497 |
@rohit-nayak-ps @aquarapid It seems like the fix #6497 was never merged. We just came across the same bug. |
Hi @vahe ! Can you please provide the command you ran and the output you saw? I know that since this we've done work in the dry run to ensure that the actual command would likely work in #10058. So I want to be sure you're seeing the same issue mentioned here and not simply a dry run failing / returning an error (which is valid). Thanks! |
@mattlord We ran:
Output:
We're on v14. It looks like the code is still there even on current main. Namely the call to |
fixed via #12992 |
Version: git hash 68f6713 (7/24/2020)
Scenario:
304_switch_reads.sh
SwitchReads
from304_switch_reads.sh
manually, but with the-dry_run
flag, i.e.:This seems to be expected, since we cannot take the lock in dry-run mode; but can be confusing (and scary) to users.
Expected behavior: Should run without errors if everything checks out
The text was updated successfully, but these errors were encountered: