Commit d194d7a
committed
Fix bug in streaming replication over multiple tli switches.
After receiving some WAL over streaming replication, try to open the file
from the timeline we're currently recieving, not recoveryTargetTLI. They
are usually the same, which is why wasn't noticed before, but you'd get
an error if there have been more than one timeline switch between the
current point in WAL and the recovery target.1 parent 4ffd589 commit d194d7a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9745 | 9745 | | |
9746 | 9746 | | |
9747 | 9747 | | |
9748 | | - | |
| 9748 | + | |
9749 | 9749 | | |
9750 | 9750 | | |
9751 | 9751 | | |
| |||
0 commit comments