Skip to content

triedb/pathdb: fix TestTruncateOutOfRange after graceful head truncation change#573

Merged
gballet merged 1 commit intogballet:archival-commandfrom
tellabg:archival-command
Mar 12, 2026
Merged

triedb/pathdb: fix TestTruncateOutOfRange after graceful head truncation change#573
gballet merged 1 commit intogballet:archival-commandfrom
tellabg:archival-command

Conversation

@gballet
Copy link
Copy Markdown
Owner

@gballet gballet commented Mar 12, 2026

The streaming archival PR changed truncateFromHead to return nil (instead of an error) when nhead > ohead, gracefully handling unclean shutdowns where state history was not fully written. Update the test to expect nil for the head+1 case.

…ion change

The streaming archival PR changed truncateFromHead to return nil
(instead of an error) when nhead > ohead, gracefully handling unclean
shutdowns where state history was not fully written. Update the test
to expect nil for the head+1 case.
@gballet gballet merged commit d5793af into gballet:archival-command Mar 12, 2026
1 check passed
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.

2 participants