Skip to content

Shilongw/daos 18618 test#17770

Draft
wangshilong wants to merge 3 commits intomasterfrom
shilongw/DAOS-18618-test
Draft

Shilongw/daos 18618 test#17770
wangshilong wants to merge 3 commits intomasterfrom
shilongw/DAOS-18618-test

Conversation

@wangshilong
Copy link
Contributor

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

liw and others added 3 commits March 18, 2026 09:12
CONT_DESTROY handling employs one RDB TX and invokes a CONT_TGT_DESTROY
CoRPC synchronously during the RDB TX. This is related to the following
problems:

  - DAOS-18190: A partially-destroyed container remains openable,
    leading to false positive "corruptions".

  - DAOS-18301: The CONT_TGT_DESTROY CoRPC may trigger deadlocks on
    cs_lock.

This patch addresses both problems by splitting CONT_DESTROY handling
such that a first RDB TX marks the container as DESTROYING (i.e.,
having entered the state of being destroyed), the CONT_TGT_DESTROY CoRPC
goes without holding cs_lock, and a second RDB TX destroys the container
from the RDB.

Although not openable, DESTROYING containers still appear in container
list results, and may need re-destroying. This is to minimize changes
and focus on the most important problems first; further improvements
will come next.

Test-tag: pr test_ec_online_rebuild
Signed-off-by: Li Wei <liwei@hpe.com>
Test-tag: pr test_ec_online_rebuild
Test-tag: daily_regression
Signed-off-by: Wang Shilong <shilong.wang@hpe.com>
@github-actions
Copy link

Errors are component not formatted correctly,Ticket number prefix incorrect,PR title is malformatted. See https://daosio.atlassian.net/wiki/spaces/DC/pages/11133911069/Commit+Comments,Unable to load ticket data
https://daosio.atlassian.net/browse/Shilongw/daos

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.

2 participants