-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add missing query transition to RUNNING state with task-level retries #11198
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it testable?
(see also #10360)
core/trino-main/src/main/java/io/trino/execution/scheduler/SqlQueryScheduler.java
Show resolved
Hide resolved
68e9d41
to
ad6ae79
Compare
ad6ae79
to
04ad16f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last commit LGTM
rest is in some other PR.
@BeforeClass | ||
public void setUp() | ||
{ | ||
executorService = listeningDecorator(newCachedThreadPool()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Listening" is redundant
The first two commit message titles are too long. Notice how GitHub truncates them. |
Yeah I know - I suck at that. I will make them shorter in the other PR this one is based on. |
b687eab
to
dd46045
Compare
dd46045
to
ad43a37
Compare
8054a9a
to
9f1efdd
Compare
Description
Add missing query transition to RUNNING state with task-level retries
fix
core query engine
Without the fix queries were stuck in STARTING state for whole execution if task-level retries were enabled.
Related issues, pull requests, and links
Documentation
(x) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.
Release notes
( ) No release notes entries required.
(x) Release notes entries required with the following suggested text: