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

Fix ThreadPerTaskScheduler busyness accounting #3859

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

chemicL
Copy link
Member

@chemicL chemicL commented Aug 1, 2024

This change prevents the same BoundedElasticThreadPerTaskScheduler being picked up when the maximum number of Virtual Threads are already being executed in parallel. The consequence of improper busyness accounting was that tasks were executed sequentially instead of being run in parallel because the same Worker was being picked by operators.

Resolves #3857

This change prevents the same `BoundedElasticThreadPerTaskScheduler` being
picked up when the maximum number of Virtual Threads are already being
executed in parallel. The consequence of improper busyness accounting
was that tasks were executed sequentially instead of being run in
parallel because the same `Worker` was being picked by operators.

Resolves #3857
@chemicL chemicL added the type/bug A general bug label Aug 1, 2024
@chemicL chemicL added this to the 3.6.9 milestone Aug 1, 2024
@chemicL chemicL self-assigned this Aug 1, 2024
@chemicL chemicL requested a review from a team as a code owner August 1, 2024 14:01
@chemicL chemicL merged commit bcab229 into 3.6.x Aug 1, 2024
8 checks passed
@chemicL chemicL deleted the fix-virtual-threads-concurrency branch August 1, 2024 14:22
chemicL added a commit that referenced this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant