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

Confusing error message when trying to start transaction in OLAP workload mode #7447

Closed
aquarapid opened this issue Feb 4, 2021 · 1 comment · Fixed by #7448
Closed

Confusing error message when trying to start transaction in OLAP workload mode #7447

aquarapid opened this issue Feb 4, 2021 · 1 comment · Fixed by #7448

Comments

@aquarapid
Copy link
Contributor

In Vitess 9.0: If you switch to workload=OLAP and start a transaction (either via, start transaction or begin) you get a strange error message, e.g.:

mysql> set workload=olap;
Query OK, 0 rows affected (0.00 sec)

mysql> start transaction;
ERROR 1105 (HY000): vtgate: http://localhost:15001/: unrecognized VSTREAM statement: start transaction

Yes, transactions are not supported in OLAP mode; but what does that have to do with VSTREAM?

@deepthi
Copy link
Member

deepthi commented Feb 4, 2021

For future reference, the error message we produce after the fix is "unsupported statement type for OLAP".

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 a pull request may close this issue.

2 participants