Skip to content

Add test and counter for stale seq in merge delta combining. (CI test)#288

Closed
aversecat wants to merge 1 commit intomainfrom
auke/cc_stale_seq_xattr_totals_negative
Closed

Add test and counter for stale seq in merge delta combining. (CI test)#288
aversecat wants to merge 1 commit intomainfrom
auke/cc_stale_seq_xattr_totals_negative

Conversation

@aversecat
Copy link
Contributor

merge_read_item() fails to update found->seq when combining delta items from multiple finalized log trees. Add a test case to replicate the conditions of this issue.

The conditions to get this to reproduce are pretty tricky. We have to exceed the block limit and that's nearly impossible at VM scale with out significant load. Instead, we lower the merge limit and create an executable to create the conditions for us. That keeps the test case reasonably short.

This isn't for merging - the merge limit override is purely a test thing we don't want merged.

merge_read_item() fails to update found->seq when combining delta items
from multiple finalized log trees. Add a test case to replicate the
conditions of this issue.

The conditions to get this to reproduce are pretty tricky. We have to
exceed the block limit and that's nearly impossible at VM scale with out
significant load. Instead, we lower the merge limit and create an
executable to create the conditions for us. That keeps the test case
reasonably short.

Signed-off-by: Auke Kok <auke.kok@versity.com>
@aversecat
Copy link
Contributor Author

This test is also polluting - it adds totl xattrs that throw off the other test that does that - it can't handle this (yet).

@aversecat aversecat closed this Mar 5, 2026
@aversecat aversecat deleted the auke/cc_stale_seq_xattr_totals_negative branch March 5, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant