Commit 6aa2e49
committed
Must not reach consistency before XLOG_BACKUP_RECORD
When waiting for an XLOG_BACKUP_RECORD the minRecoveryPoint
will be incorrect, so we must not declare recovery as consistent
before we have seen the record. Major bug allowing recovery to end
too early in some cases, allowing people to see inconsistent db.
This patch to HEAD and 9.2, other fix required for 9.1 and 9.0
Simon Riggs and Andres Freund, bug report by Jeff Janes1 parent 357cbaa commit 6aa2e49
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6332 | 6332 | | |
6333 | 6333 | | |
6334 | 6334 | | |
6335 | | - | |
| 6335 | + | |
| 6336 | + | |
| 6337 | + | |
| 6338 | + | |
6336 | 6339 | | |
6337 | | - | |
| 6340 | + | |
6338 | 6341 | | |
6339 | 6342 | | |
6340 | 6343 | | |
| |||
0 commit comments