8000 Fix transaction_mode parsing by saifalharthi · Pull Request #5963 · vitessio/vitess · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix transaction_mode parsing #5963

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

Merged
merged 2 commits into from
Mar 26, 2020
Merged

Conversation

saifalharthi
Copy link
Contributor

This closes #5890
Signed-off-by: Saif Alharthi saif@saifalharthi.me

Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
@saifalharthi saifalharthi requested a review from sougou as a code owner March 25, 2020 03:25
8000
Copy link
Member
@harshit-gangal harshit-gangal left a comment

Choose a reason for hiding this comment

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

LGTM

Issue states that if it fails to recognise the transaction mode. vtgate should not start.

@saifalharthi
Copy link
Contributor Author

I agree with you. However, I didn't change that logic as there might be a reason for it to start vtgate with that. So I fixed the case sensitive issue.

@sougou
Copy link
Contributor
sougou commented Mar 25, 2020

It's safe to make it exit if unrecognized because most people don't override this setting.

Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
@harshit-gangal harshit-gangal merged commit e744688 into vitessio:master Mar 26, 2020
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.

Vtgate silently ignores invalid value for parameter -transaction_mode
3 participants
0