Skip to content
/ server Public

MDEV-33070 Thread pool starvation at oversubscribe#4804

Open
varundeepsaini wants to merge 1 commit intoMariaDB:mainfrom
varundeepsaini:MDEV-33070-thread-pool-starvation
Open

MDEV-33070 Thread pool starvation at oversubscribe#4804
varundeepsaini wants to merge 1 commit intoMariaDB:mainfrom
varundeepsaini:MDEV-33070-thread-pool-starvation

Conversation

@varundeepsaini
Copy link
Contributor

@varundeepsaini varundeepsaini commented Mar 14, 2026

Summary

  • allow a thread group to reach the oversubscribe threshold before treating it as oversubscribed
  • add an MTR regression test for MDEV-33070 covering queued work at the threshold

Testing

  • Added a regression test

Allow one more worker at the oversubscribe threshold so a group
only becomes oversubscribed after it exceeds the configured
limit.

Add a regression test that reproduces the starvation case in the
generic thread pool and verifies queued work still drains.

Signed-off-by: Varun Deep Saini <varun.23bcs10048@ms.sst.scaler.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant