Skip to content

fix(replica): promote LTX upload log to Info level with size field#1182

Merged
benbjohnson merged 2 commits intomainfrom
fix/ltx-upload-log-level
Mar 4, 2026
Merged

fix(replica): promote LTX upload log to Info level with size field#1182
benbjohnson merged 2 commits intomainfrom
fix/ltx-upload-log-level

Conversation

@benbjohnson
Copy link
Owner

Summary

  • Promotes the LTX file upload log from Debug to Info level for better operational visibility
  • Uses fields from the returned WriteLTXFileInfo struct (Level, MinTXID, MaxTXID, Size) instead of local variables
  • Adds file size to the log output for monitoring upload sizes

Test plan

  • Verify go build ./... passes
  • Verify go test -race ./... passes
  • Confirm Info-level logs appear during normal replication

🤖 Generated with Claude Code

The LTX upload log was at Debug level, making it invisible during
normal operation. Promote to Info and include the level and size
fields from WriteLTXFileInfo for better observability.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

PR Build Metrics

All clear — no issues detected

Check Status Summary
Binary size 35.82 MB (0.0 KB / 0.00%)
Dependencies No changes
Vulnerabilities None detected
Go toolchain 1.24.13 (latest)
Module graph 1204 edges (0)
Binary size details
Size Change
Base (0b3facd) 35.82 MB
PR (5a2869a) 35.82 MB 0.0 KB (0.00%)
Dependency changes

No dependency changes.

govulncheck output
No vulnerabilities found.
Build info
Metric Value
Build time 42s
Go version go1.24.13
Commit 5a2869a
History (1 previous)
Commit Updated Status Summary
409f33b 2026-03-03 21:31 UTC 35.82 MB (0.0 KB / 0.00%)
--- 🤖 Updated on each push.

Show both the replica and database TXIDs as a structured slog group
for easier debugging of replication lag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@benbjohnson benbjohnson merged commit 6843423 into main Mar 4, 2026
24 checks passed
@benbjohnson benbjohnson deleted the fix/ltx-upload-log-level branch March 4, 2026 00:29
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