Skip to content

lb: default auto mode pools to replica - #1323

Merged
levkk merged 1 commit into
pgdogdev:mainfrom
murex971:auto-replica-mode
Aug 7, 2026
Merged

lb: default auto mode pools to replica#1323
levkk merged 1 commit into
pgdogdev:mainfrom
murex971:auto-replica-mode

Conversation

@murex971

@murex971 murex971 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • In auto mode, start all pools as replica so reads can flow before primary election finishes
  • Wait for a primary to be elected on write checkouts (instead of waiting for “no Auto roles left”), so writes stay correct during election

closes #1308

@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@levkk levkk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is excellent. Thank you!

@levkk
levkk merged commit b050a57 into pgdogdev:main Aug 7, 2026
49 checks passed
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.

[LB] Default to replica in auto mode

2 participants