Test wal sender feedback - #180
Draft
leonardoce wants to merge 2 commits into
Draft
Conversation
leonardoce
force-pushed
the
rpozero
branch
3 times, most recently
from
August 26, 2026 15:44
4581c01 to
c3c7852
Compare
…t buffering Change the Put RPC from client-streaming to bidi-streaming so the Klio server acknowledges each WAL block as it is written, instead of only returning a single result when the stream closes. The gRPC client and walserver upload handler are updated accordingly, and the WAL receiver now runs two goroutines: one pumping PostgreSQL WAL data to the server, the other reading per-block feedback and turning it into standby status updates for PostgreSQL. This makes the in-memory WAL buffer, its periodic flush timer and the related config (buffer_size, flush_timeout_ms, standby_message_timeout_seconds, SetDefaults) unnecessary, since blocks are now sent to the server as they arrive and confirmed via the server's own feedback rather than a client-side timer. Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
fcanovai
force-pushed
the
rpozero
branch
2 times, most recently
from
August 27, 2026 15:57
43dccb1 to
a855882
Compare
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.
No description provided.