- Notifications
You must be signed in to change notification settings - Fork5
Commit3595a71
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 parent9af34cd commit3595a71
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
397 | 397 |
| |
398 | 398 |
| |
399 | 399 |
| |
| 400 | + | |
400 | 401 |
| |
401 | 402 |
| |
402 | 403 |
| |
|
0 commit comments
Comments
(0)