Skip to content

DAOS-18728 pool: not bump pool_component::co_in_ver when UP to UPIN#17772

Draft
Nasf-Fan wants to merge 1 commit intomasterfrom
Nasf-Fan/DAOS-18728_1
Draft

DAOS-18728 pool: not bump pool_component::co_in_ver when UP to UPIN#17772
Nasf-Fan wants to merge 1 commit intomasterfrom
Nasf-Fan/DAOS-18728_1

Conversation

@Nasf-Fan
Copy link
Contributor

@Nasf-Fan Nasf-Fan commented Mar 24, 2026

The pool_component::co_in_ver is used to record the pool map version when the target status (co_status) is set as UP. Do not bump it when be changed from UP to UPIN. Otherwise, it will misguide DTX logic as to DTX resync may leak DTX entry.

Another fix is for DTX logic: only UPIN target can be as DTX leader.

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

@github-actions
Copy link

Ticket title is 'pool_component::co_in_ver dump after rebuild may cause DTX leader election failure'
Status is 'In Progress'
https://daosio.atlassian.net/browse/DAOS-18728

@daosbuild3
Copy link
Collaborator

@Nasf-Fan Nasf-Fan force-pushed the Nasf-Fan/DAOS-18728_1 branch 2 times, most recently from 1bc5310 to 23d877c Compare March 25, 2026 00:59
@daosbuild3
Copy link
Collaborator

The pool_component::co_in_ver is used to record the pool map version
when the target status (co_status) is set as UP. Do not bump it when
be changed from UP to UPIN. Otherwise, it will misguide DTX logic as
to DTX resync may leak DTX entry.

Another fix is for DTX logic: only UPIN target can be as DTX leader.

Signed-off-by: Fan Yong <fan.yong@hpe.com>
@Nasf-Fan Nasf-Fan force-pushed the Nasf-Fan/DAOS-18728_1 branch from 23d877c to a4af12b Compare March 25, 2026 04:18
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