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

VTGate StreamExecute grpc api does not support transactions #13132

Closed
harshit-gangal opened this issue May 23, 2023 · 0 comments · Fixed by #13131
Closed

VTGate StreamExecute grpc api does not support transactions #13132

harshit-gangal opened this issue May 23, 2023 · 0 comments · Fixed by #13131

Comments

@harshit-gangal
Copy link
Member

If you use VTGate GRPC Client to connect to vtgate and use StreamExecute API for transactions. The transactions are lost as the VTGate session is not returned in the response

Reproduction Steps

  1. Connect to vtgate using grpc client
  2. Execute "begin" query using StreamExecute rpc
  3. Execute query using StreamExecute rpc
  4. Execute "rollback" query using StreamExecute rpc
  5. Execute query to select the changed value Expectation: - the changed value should not exist. Actual: - the changed value is returned. Reason: StreamExecute does not return the Session so, the transaction is not persisted.
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.

1 participant