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 compatibility with older Vitess builds. #119

Merged
merged 1 commit into from
Aug 14, 2020
Merged

Conversation

enisoc
Copy link
Contributor

@enisoc enisoc commented Aug 14, 2020

We have been depending on the text of an RPC error message in a brittle way because there's no better alternative yet. Vitess changed the text of the error, so we need to check for multiple possibilities to remain compatible with both older and newer Vitess versions.

We have been depending on the text of an RPC error message in a brittle
way because there's no better alternative yet. Vitess changed the text
of the error, so we need to check for multiple possibilities to remain
compatible with both older and newer Vitess versions.

Signed-off-by: Anthony Yeh <[email protected]>
@enisoc enisoc requested a review from deepthi August 14, 2020 15:35
Copy link
Collaborator

@deepthi deepthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@enisoc enisoc merged commit 7196e20 into master Aug 14, 2020
@enisoc enisoc deleted the err-not-replica branch August 14, 2020 17:34
avaidyanatha pushed a commit that referenced this pull request Aug 22, 2020
We have been depending on the text of an RPC error message in a brittle
way because there's no better alternative yet. Vitess changed the text
of the error, so we need to check for multiple possibilities to remain
compatible with both older and newer Vitess versions.

Signed-off-by: Anthony Yeh <[email protected]>
Signed-off-by: avaidyanatha <[email protected]>
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.

2 participants