Skip to content

Fix bug where topo func was called instead of dry run func. Improve SwitchReads dry run output#6497

Closed
rohit-nayak-ps wants to merge 1 commit intovitessio:masterfrom
planetscale:rn-switch-reads-dry-run-fix
Closed

Fix bug where topo func was called instead of dry run func. Improve SwitchReads dry run output#6497
rohit-nayak-ps wants to merge 1 commit intovitessio:masterfrom
planetscale:rn-switch-reads-dry-run-fix

Conversation

@rohit-nayak-ps
Copy link
Member

Signed-off-by: Rohit Nayak rohit@planetscale.com

…witchReads dry run output

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@rohit-nayak-ps rohit-nayak-ps marked this pull request as ready for review July 29, 2020 22:27
@rohit-nayak-ps rohit-nayak-ps requested a review from sougou as a code owner July 29, 2020 22:27
@deepthi
Copy link
Collaborator

deepthi commented Jul 30, 2020

Does this problem exist for SwitchWrites as well? Do we know?

@rohit-nayak-ps
Copy link
Member Author

Does this problem exist for SwitchWrites as well? Do we know?

This is SwitchReads-specific. At one point in the flow we were not using the dry-run indirection. Message was going to stderr and not to stdout and hence tests don't catch it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vtctlclient SwitchReads with -dry_run results in unexpected lock errors

2 participants