Skip to content

Replace WAL state-path-Pair with new record class#6442

Open
DomGarguilo wants to merge 2 commits into
apache:mainfrom
DomGarguilo:walStatePair
Open

Replace WAL state-path-Pair with new record class#6442
DomGarguilo wants to merge 2 commits into
apache:mainfrom
DomGarguilo:walStatePair

Conversation

@DomGarguilo

Copy link
Copy Markdown
Member
  • WalStateManager.parse() returned a Pair<WalState,Path>. This PR replaces that with the new public record WalStatePath(WalState state, Path path) which improves readability
    • ba271c6 completed the bulk of this work
  • 0e48e31 cleaned things up by replacing a related Pair returned by another method with this new object.
    • In this commit i also made an improvement by using removeIf() in GarbageCollectWriteAheadLogs.removeEntriesInUse()

@DomGarguilo DomGarguilo added this to the 4.0.0 milestone Jun 23, 2026
@DomGarguilo DomGarguilo self-assigned this Jun 23, 2026
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