forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit580b941
committed
Prevent non-streaming replication connections from being selected sync slave
This prevents a pg_basebackup backup session that just does a basebackup (no xlog involved at all) from becoming the synchronous slaveand thus blocking all access while it runs.Also fixes the problem when a higher priority slave shows up it wouldbecome the sync standby before it has reached the STREAMING state, bymaking sure we can only switch to a walsender that's actually STREAMING.Fujii Masao1 parent557433f commit580b941
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
399 | 399 |
| |
400 | 400 |
| |
401 | 401 |
| |
| 402 | + | |
402 | 403 |
| |
403 | 404 |
| |
404 | 405 |
| |
|
0 commit comments
Comments
(0)