Skip to content
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

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

Conversation

rohit-nayak-ps
Copy link
Contributor

Signed-off-by: Rohit Nayak [email protected]

@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
Member

deepthi commented Jul 30, 2020

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

@rohit-nayak-ps
Copy link
Contributor 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