Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cdc] treat all pkms as reply_requested #2353

Merged
merged 8 commits into from
Dec 17, 2024
Merged

Conversation

heavycrystal
Copy link
Contributor

Looking at walsender code, PrimaryKeepaliveMessages are mostly only sent with reply_requested when wal_sender_timeout is non-zero. We recommend wal_sender_timeout be set to 0. We currently only send a StandbyStatusMessage when we see a pkm that has reply_requested so we almost never send them.

Treat all pkms as reply_requested for hopefully more aggressive slot flushes.

@serprex serprex requested a review from iskakaushik December 12, 2024 15:02
@heavycrystal heavycrystal force-pushed the pkm-always-replyrequested branch from 281adf2 to 0e6d9ed Compare December 16, 2024 10:30
@iamKunalGupta
Copy link
Member

@heavycrystal can you do a large cdc update test on this once?

@heavycrystal heavycrystal enabled auto-merge (squash) December 17, 2024 17:30
@heavycrystal heavycrystal merged commit 55a7dc6 into main Dec 17, 2024
9 checks passed
@heavycrystal heavycrystal deleted the pkm-always-replyrequested branch December 17, 2024 17:49
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.

3 participants