Skip to content

Store WAL record lengths#570

Merged
adsharma merged 4 commits into
mainfrom
wal_store_lengths
Jun 5, 2026
Merged

Store WAL record lengths#570
adsharma merged 4 commits into
mainfrom
wal_store_lengths

Conversation

@adsharma

@adsharma adsharma commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Fixes: #406

Summary

  • add length framing around serialized WAL records
  • make WAL deserialization skip unknown trailing bytes and generated record readers tolerate missing trailing fields
  • add a regression test for skipping future record fields

@adsharma adsharma marked this pull request as ready for review June 5, 2026 21:28
@adsharma adsharma merged commit a48a26f into main Jun 5, 2026
4 checks passed
@adsharma adsharma deleted the wal_store_lengths branch June 5, 2026 21:42
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.

WAL: Store record lengths on disk

1 participant