Skip to content

DAOS-18949 container: improper assertion in cont_child_create_start#18238

Closed
Nasf-Fan wants to merge 1 commit into
masterfrom
Nasf-Fan/DAOS-18949
Closed

DAOS-18949 container: improper assertion in cont_child_create_start#18238
Nasf-Fan wants to merge 1 commit into
masterfrom
Nasf-Fan/DAOS-18949

Conversation

@Nasf-Fan
Copy link
Copy Markdown
Contributor

The caller for cont_child_create_start() may not hold sp_recov_lock in advance, then the logic of cont_child_create_start() will try to take such lock by itself. Such ABT_rwlock_rdlock() maybe blocked by race or maybe not if there is no race. So it is not true to assume there will be CPU yield for such ABT rdlock. Then related assertion check "D_ASSERT(sched_seq1 != sched_seq2)" should be removed.

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).

The caller for cont_child_create_start() may not hold sp_recov_lock
in advance, then the logic of cont_child_create_start() will try to
take such lock by itself. Such ABT_rwlock_rdlock() maybe blocked by
race or maybe not if there is no race. So it is not true to assume
there will be CPU yield for such ABT rdlock. Then related assertion
check "D_ASSERT(sched_seq1 != sched_seq2)" should be removed.

Signed-off-by: Fan Yong <fan.yong@hpe.com>
@github-actions
Copy link
Copy Markdown

Ticket title is 'erasurecode/multiple_rank_failure.py:EcodOnlineMultiRankFail.test_ec_multiple_rank_failure - timeout destroying container in tearDown'
Status is 'In Progress'
Labels: 'ci_master_weekly,weekly_test'
https://daosio.atlassian.net/browse/DAOS-18949

@Nasf-Fan
Copy link
Copy Markdown
Contributor Author

Not need it any longer.

@Nasf-Fan Nasf-Fan closed this May 13, 2026
@Nasf-Fan Nasf-Fan deleted the Nasf-Fan/DAOS-18949 branch May 13, 2026 08:01
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