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

set workload = 'olap'; can not repeat, but set workload = 'oltp' can; #4086

Closed
linuxgood1230 opened this issue Jul 13, 2018 · 2 comments · Fixed by #6691
Closed

set workload = 'olap'; can not repeat, but set workload = 'oltp' can; #4086

linuxgood1230 opened this issue Jul 13, 2018 · 2 comments · Fixed by #6691
Assignees
Milestone

Comments

@linuxgood1230
Copy link

vitess@host set workload = 'olap';
Query OK, 0 rows affected (0.00 sec)

vitess@host set workload = 'olap';
ERROR 1105 (HY000): vtgate: http://host:22170/: unsupported construct: set

- exit, reconnect
vitess@host set workload = 'oltp';
Query OK, 0 rows affected (0.00 sec)

vitess@host set workload = 'oltp';
Query OK, 0 rows affected (0.00 sec)

@dweitzman
Copy link
Member

This looks like #3977

@Akkadius
Copy link

You also can't switch to 'oltp' once you have set workload = 'olap'; until you disconnect/reconnect

@morgo morgo added this to the v5.0 milestone Oct 25, 2019
@systay systay self-assigned this Nov 26, 2019
@morgo morgo modified the milestones: v5.0, v6.0 Feb 4, 2020
@deepthi deepthi modified the milestones: v6.0, v8.0 Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants