Skip to content

DAOS-17591 dtx: handle orphan DTX entries - b26 #16483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: release/2.6
Choose a base branch
from

Conversation

Nasf-Fan
Copy link
Contributor

@Nasf-Fan Nasf-Fan commented Jun 6, 2025

Our current DTX resync mechanism does DTX leader sponsored scanning for the specified container. But if current DTX leader is dead, the new DTX leader will switch to another target on which related entry may be not exist or has been committed. Under such case, DTX resync on the new DTX leader will not handle such DTX entry, as to the DTX entry on other non-leaders may become "orphan".

Such kind of orphan DTX entries may affect subsequent rebuild. This patch introduces DTX orphan cleanup mechanism to handle them before rebuild scanning related container.

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

Copy link

github-actions bot commented Jun 6, 2025

Ticket title is 'Active DTX cleanup after global metadata verification'
Status is 'In Progress'
https://daosio.atlassian.net/browse/DAOS-17591

Our current DTX resync mechanism does DTX leader sponsored scanning
for the specified container. But if current DTX leader is dead, the
new DTX leader will switch to another target on which related entry
may be not exist or has been committed. Under such case, DTX resync
on the new DTX leader will not handle such DTX entry, as to the DTX
entry on other non-leaders may become "orphan".

Such kind of orphan DTX entries may affect subsequent rebuild. This
patch introduces DTX orphan cleanup mechanism to handle them before
rebuild scanning related container.

Signed-off-by: Fan Yong <fan.yong@hpe.com>
@Nasf-Fan Nasf-Fan force-pushed the Nasf-Fan/DAOS-17591_1_b26 branch from 672acc6 to 5ab1644 Compare June 10, 2025 10:43
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