Skip to content

Accept only single tasks at master service#83829

Merged
elasticsearchmachine merged 1 commit intoelastic:masterfrom
DaveCTurner:2022-02-11-submit-single-tasks
Feb 11, 2022
Merged

Accept only single tasks at master service#83829
elasticsearchmachine merged 1 commit intoelastic:masterfrom
DaveCTurner:2022-02-11-submit-single-tasks

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

Today MasterService (and TaskBatcher) allow callers to submit a
collection of tasks that will be executed all at once. Support for
batches of tasks makes things more complicated than they need to be,
noting that (since #83803) in production code we only ever submit single
tasks. This commit specializes things to accept only single tasks.

Today `MasterService` (and `TaskBatcher`) allow callers to submit a
collection of tasks that will be executed all at once. Support for
batches of tasks makes things more complicated than they need to be,
noting that (since elastic#83803) in production code we only ever submit single
tasks. This commit specializes things to accept only single tasks.
@DaveCTurner DaveCTurner added >refactoring :Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. v8.2.0 labels Feb 11, 2022
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Feb 11, 2022
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@DaveCTurner DaveCTurner added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Feb 11, 2022
@elasticsearchmachine elasticsearchmachine merged commit dd4d442 into elastic:master Feb 11, 2022
@DaveCTurner DaveCTurner deleted the 2022-02-11-submit-single-tasks branch February 11, 2022 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. >refactoring Team:Distributed Meta label for distributed team. v8.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants