Expose replication + object-storage primitives for building WAL-processing tools - #19
Merged
Conversation
achudnovskij
commented
Jul 14, 2026
achudnovskij
force-pushed
the
expose-primitives
branch
4 times, most recently
from
July 15, 2026 03:00
da20d0d to
c9d0d11
Compare
achudnovskij
marked this pull request as ready for review
July 15, 2026 03:04
serprex
reviewed
Jul 15, 2026
serprex
approved these changes
Jul 15, 2026
achudnovskij
force-pushed
the
expose-primitives
branch
2 times, most recently
from
July 15, 2026 06:04
f0c09d5 to
f3c69b6
Compare
serprex
approved these changes
Jul 15, 2026
…ssing tools - Open more of tls.rs and conn.rs as pub - Add PutIfAbsent method to storage interface, S3 and GCS The change allows to use wal-rus PG connection and storage code as a library
achudnovskij
force-pushed
the
expose-primitives
branch
from
July 15, 2026 18:03
b8a3c55 to
353f0e2
Compare
achudnovskij
added a commit
that referenced
this pull request
Jul 16, 2026
External WAL-processing tools that stream replication (e.g. the wal-listener synchronous receiver) need to resolve which timeline owns a resume LSN by walking a `TIMELINE_HISTORY` response — exactly what the private `lsn_to_timeline` already does. They currently duplicate the parser byte-for- byte. Expose it (follow-up to #19, "Expose replication + object-storage primitives") so the logic lives in one place. No behavior change; the existing unit test still covers it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The change allows to use wal-rus PG connection and storage code as a library