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

Current transaction is aborted, commands ignored until end of transaction block #25252

Open
rahul-bansal-sumo opened this issue Mar 7, 2025 · 0 comments

Comments

@rahul-bansal-sumo
Copy link

Getting current transaction is aborted SQLException, whenever there is upscale/downscale of worker pods in kubernetes. Although we have implemented graceful shutdown for worker pods but still issue persist.

Current transaction is aborted SQLException also happening because of another reasons like timeout Interrupted exception and network problem. But we are concerned about queries which are getting aborted after few milliseconds of query start.
Exception code pointer -

throw new TrinoException(TRANSACTION_ALREADY_ABORTED, "Current transaction is aborted, commands ignored until end of transaction block");

As per our understanding io.airlift.concurrent.BoundedExecutor is used to queue the tasks and then runs it on trino worker pod. But due to unavailable worker pods, I think trino used fail-fast mechanism and aborted such queries initially itself.

We are using trino 469 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant