Skip to content

[#888] Show partial WAL records in the interactive viewer - #1801

Open
manishpatel00 wants to merge 1 commit into
pgmoneta:mainfrom
manishpatel00:codex/issue-888-partial-wal
Open

manishpatel00 wants to merge 1 commit into
pgmoneta:mainfrom
manishpatel00:codex/issue-888-partial-wal

Conversation

@manishpatel00

Copy link
Copy Markdown
Contributor

Fixes #888

Description

The interactive viewer drops partial WAL records even though the reader emits placeholders for missing continuation data. Keep those rows in their original positions and show that their fields are unavailable, without reading uninitialized decoded fields.

Changes

  • Display partial rows in text, binary and detail views.
  • Exclude unavailable metadata from numeric/relation filters and LSN completion; do not verify or mark partial rows.
  • Add three headless regression tests covering poisoned placeholder data, filtering/verification, and loading a continuation segment followed by complete records, including reload into reused storage.

Validation

  • Remote GCC Debug build of pgmoneta-walinfo-bin and pgmoneta-test passed.
  • ./build/test/pgmoneta-test -m walinfo_interactive passed in the focused validation run.
  • Formatted the changed files with the repository configuration; added-line whitespace check passed.
  • Full CI and manual terminal interaction have not been verified. No local build was run.

Preserve incomplete rows without accessing undecoded fields, and keep
unknown metadata out of filters, verification and marking. Add focused
regression coverage for continuation rows and reloading complete records.

Fixes pgmoneta#888

Signed-off-by: Manish Kumar <[email protected]>
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.

walinfo/interactive: Support partial WAL records

1 participant