forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfaa0550
committed
Remove rare corner case for data loss when triggering standby server.
If the standby was streaming when trigger file arrives, check also in thearchive for additional WAL files. This is a corner case since it isunlikely that we would trigger a failover while the master is stillavailable and sending data to standby, while at the same time running inarchive mode and also while the streaming standby has fallen behind archive.Someone would eventually be unlucky; we must plug all gaps however small.Fujii Masao1 parent722bf70 commitfaa0550
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9619 | 9619 |
| |
9620 | 9620 |
| |
9621 | 9621 |
| |
9622 |
| - | |
| 9622 | + | |
9623 | 9623 |
| |
9624 | 9624 |
| |
9625 | 9625 |
| |
| |||
9886 | 9886 |
| |
9887 | 9887 |
| |
9888 | 9888 |
| |
| 9889 | + | |
| 9890 | + | |
| 9891 | + | |
| 9892 | + | |
9889 | 9893 |
| |
9890 | 9894 |
| |
9891 | 9895 |
| |
| |||
9896 | 9900 |
| |
9897 | 9901 |
| |
9898 | 9902 |
| |
| 9903 | + | |
9899 | 9904 |
| |
9900 | 9905 |
| |
9901 | 9906 |
| |
|
0 commit comments
Comments
(0)