Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. CodeRabbit Verify
|
|
Nice, the watchdog-only diff is smaller than I expected, and the way you handle pauses looks right to me. I've only read it so far, not run it, so tell me if I've got something wrong. One thing worries me. When the watchdog fires and we reconnect, Postgres can still have the old walsender sitting on the slot. As far as I can tell, START_REPLICATION then fails because the slot's active, each failure burns It should only bite when There's a similar case on a healthy connection. In PG17's walsender, replies only get read every What I'd want:
I'm hesitant to default this on for everyone until that's sorted. Couple of small things: the new README section ended up below the license line, and Also, did you see my last comment on #14? The stall signal and the subtransaction check are still open, and the #15 README says pause telemetry stays the stalled-sink alert, so I want to make sure we're on the same page. The test jobs all passed on |
a3a4f20 to
51c706f
Compare
Stacked on #14; watchdog-only diff.
Adds a configurable watchdog that detects silent replication connections and recovers from the durable checkpoint. Healthy idle streams, intentional pauses and snapshots are handled without false timeouts.
Validated with real connection-failure tests on PostgreSQL 15 and 18, the full PG18 suite, and static checks.