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

Restore DequeueMatchSettings Platform #1351

Merged
merged 1 commit into from
May 30, 2023

Conversation

werkt
Copy link
Collaborator

@werkt werkt commented May 30, 2023

The DequeueMatchSettings Platform before 0a6802e provided for selection or rejection of queue entries based on locally selectable platform properties that it provides, per worker. The config transition eliminated this capability, and left the workers only with the properties selected from the queue definition restrictions. Highlighting this was the elimination of use of the platform during ShardWorkerContext test creation, leaving a platform parameter orphaned.

Use the DMS Platform both in eligibility filtering and selection of the eligible queues to permit mildly heterogenous worker queue processing.

Fixes #1350

The DequeueMatchSettings Platform before 0a6802e provided for
selection or rejection of queue entries based on locally selectable
platform properties that it provides, per worker. The config transition
eliminated this capability, and left the workers only with the
properties selected from the queue definition restrictions. Highlighting
this was the elimination of use of the platform during
ShardWorkerContext test creation, leaving a platform parameter orphaned.

Use the DMS Platform both in eligibility filtering and selection of the
eligible queues to permit mildly heterogenous worker queue processing.

Fixes bazelbuild#1350
@werkt werkt merged commit 6fb3a0f into bazelbuild:main May 30, 2023
2 checks passed
@werkt werkt deleted the dequeue-match-settings-platform branch May 30, 2023 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception was thrown when worker's queue was set to "allowUnmatched: false".
1 participant