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

Reduce synchronization on PipelinedStageExecution #16717

Conversation

pettyjamesm
Copy link
Member

@pettyjamesm pettyjamesm commented Mar 24, 2023

Description

Removes synchronization from beginScheduling() and transitionToSchedulingSplits() both of which only perform state machine updates (if necessary) and do not require accessing synchronized state.

Follows up from #16585

Release notes

(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

@cla-bot cla-bot bot added the cla-signed label Mar 24, 2023
@pettyjamesm pettyjamesm changed the title Reduce synchronization on PipelinedQueryScheduler Reduce synchronization on PipelinedStageExecution Mar 24, 2023
@pettyjamesm pettyjamesm force-pushed the reduce-pipelined-query-scheduler-synchronization branch from c4edb36 to d4bc175 Compare March 24, 2023 18:22
@pettyjamesm pettyjamesm deleted the reduce-pipelined-query-scheduler-synchronization branch March 24, 2023 18:23
@pettyjamesm pettyjamesm restored the reduce-pipelined-query-scheduler-synchronization branch March 24, 2023 18:25
@pettyjamesm pettyjamesm reopened this Mar 24, 2023
Removes synchronization from beginScheduling() and
transitionToSchedulingSplits() both of which only perform state machine
updates (if necessary) and do not require accessing synchronized state.
@pettyjamesm pettyjamesm force-pushed the reduce-pipelined-query-scheduler-synchronization branch from d4bc175 to b0476b7 Compare March 24, 2023 18:29
@raunaqmorarka raunaqmorarka merged commit c580f10 into trinodb:master Mar 25, 2023
@github-actions github-actions bot added this to the 411 milestone Mar 25, 2023
@pettyjamesm pettyjamesm deleted the reduce-pipelined-query-scheduler-synchronization branch March 25, 2023 13:17
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.

3 participants