Skip to content

Refactor task scheduling related components #9294

Closed
arhimondr wants to merge 1 commit intotrinodb:masterfrom
arhimondr:scheduler-refactor
Closed

Refactor task scheduling related components #9294
arhimondr wants to merge 1 commit intotrinodb:masterfrom
arhimondr:scheduler-refactor

Conversation

@arhimondr
Copy link
Copy Markdown
Contributor

@arhimondr arhimondr commented Sep 17, 2021

This is a preparation for introducing task level retries.

This PR removes "all-or-nothing" execution assumption from SqlStageExecution.
Scheduling related assumptions of streaming execution are now moved to
the StreamingStageExecution. SqlStageExecution is now merely a container
for scheduled tasks for a particular stage. It's main responsibility now
is to keep track of running tasks and collect their execution
statistics.

For #2909

@cla-bot cla-bot bot added the cla-signed label Sep 17, 2021
@arhimondr arhimondr changed the title [WIP] Refactor task scheduling related components Refactor task scheduling related components Sep 20, 2021
@arhimondr arhimondr requested a review from martint September 20, 2021 16:55
This is a preparation for introducing task level retries.

This PR removes "all-or-nothing" execution assumption from SqlStageExecution.
Scheduling related assumptions of streaming execution are now moved to
the StreamingStageExecution. SqlStageExecution is now merely a container
for scheduled tasks for a particular stage. It's main responsibility now
is to keep track of running tasks and collect their execution
statistics.
@arhimondr
Copy link
Copy Markdown
Contributor Author

arhimondr commented Oct 12, 2021

Closing in favor of #9361

@arhimondr arhimondr closed this Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant