Skip to content

DAOS-18615 bio: never rollback si_unused_id#17601

Open
NiuYawei wants to merge 1 commit intomasterfrom
niu/DAOS-18615
Open

DAOS-18615 bio: never rollback si_unused_id#17601
NiuYawei wants to merge 1 commit intomasterfrom
niu/DAOS-18615

Conversation

@NiuYawei
Copy link
Contributor

The initial WAL implementation allowed the upper layer to handle WAL commit failures via UNDO operations. This included rolling back the 'si_unused_id' to prevent gaps in WAL. However, current architecture no longer supports UNDO and instead excludes targets upon WAL commit failure. Consequently, the legacy si_unused_id rollback now violates the core assumption: "New transaction ID must be greater than the last checkpointed ID"

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 initial WAL implementation allowed the upper layer to handle WAL
commit failures via UNDO operations. This included rolling back the
'si_unused_id' to prevent gaps in WAL. However, current architecture
no longer supports UNDO and instead excludes targets upon WAL commit
failure. Consequently, the legacy si_unused_id rollback now violates
the core assumption: "New transaction ID must be greater than the
last checkpointed ID"

Signed-off-by: Niu Yawei <yawei.niu@hpe.com>
@NiuYawei NiuYawei requested review from a team as code owners February 25, 2026 16:17
@github-actions
Copy link

Ticket title is 'Aurora: Node seg faults with Assertion 'pinfo->pi_last_checkpoint == 0 || store->stor_ops->so_wal_id_cmp(store, wr_tx, pinfo->pi_last_checkpoint) > 0' '
Status is 'In Review'
Labels: 'test_2.8'
https://daosio.atlassian.net/browse/DAOS-18615

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.

3 participants