DAOS-18618 pool: fix pool destroy hang during stop#18284
Open
wangshilong wants to merge 1 commit into
Open
Conversation
Pool destroy can hang with an active scrubber because two scrubber cleanup bugs combine during teardown: 1. cont_iter_is_loaded_cb() can exit without calling sc_cont_teardown(), leaving sc_scrubbing set and blocking destroy on sc_scrub_cond. 2. sc_ensure_containers_are_loaded() can loop forever on DER_CONT_NONEXIST after the container has already been removed. Fix the teardown path so scrubber state is always released, skip removed containers, and stop scrubber work promptly when the pool is stopping. Signed-off-by: Wang Shilong <shilong.wang@hpe.com>
|
Ticket title is 'daos_test/suite.py:DaosCoreTest.test_daos_rebuild_simple - test timeout w/ DER_CSUM err' |
NiuYawei
approved these changes
May 20, 2026
liw
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pool destroy can hang with an active scrubber because two scrubber cleanup bugs combine during teardown:
Fix the teardown path so scrubber state is always released, skip removed containers, and stop scrubber work promptly when the pool is stopping.
Steps for the author:
After all prior steps are complete: