Skip to content

Conversation

@jimblye
Copy link
Member

@jimblye jimblye commented Dec 20, 2025

################################################################################################

Currently the RuntimeUpdateManager kicks off the quiesce for Listeners and then immediately begins quiescing threads. So it all happens in parallel. This race condition potentially allows new work to come in while the threads are quiescing. This proposed change causes the RuntimeUpdateManager to wait up to 2 seconds before quiescing the threads. It's not a perfect solution, but it gives the listeners a better chance of winning the race without adding to the total quiesceTimeout time.

@jimblye jimblye self-assigned this Dec 20, 2025
@jimblye jimblye changed the title Give head start for listener quiesce Give head start to listener quiesce Dec 20, 2025
@jimblye jimblye force-pushed the Give-head-start-for-listener-quiesce branch from 2d0463f to 047dc1e Compare December 21, 2025 03:52
@jimblye
Copy link
Member Author

jimblye commented Dec 21, 2025

#build (view Open Liberty Personal Build - ⚠️ completed with warnings.)

Note: Target locations of links might be accessible only to IBM employees.

@LibbyBot
Copy link
Member

Code analysis and actions

DO NOT DELETE THIS COMMENT.
  • 3 product code files were changed.
  • Please describe in a separate comment how you tested your changes.

@OpenLiberty OpenLiberty deleted a comment from LibbyBot Dec 22, 2025
@OpenLiberty OpenLiberty deleted a comment from LibbyBot Dec 22, 2025
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.

2 participants