Commit 161d9d5
committed
Now that streaming replication switches between streaming mode and
restoring from archive, the last WAL segment is not necessarily open at
the end of recovery. Fix assertion that assumed that.
Fujii Masao, fixing the assertion failure reported by Martin Pihlak.1 parent 76b6ee3 commit 161d9d5
1 file changed
+8
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
5085 | 5085 | | |
5086 | 5086 | | |
5087 | 5087 | | |
5088 | | - | |
5089 | | - | |
5090 | | - | |
| 5088 | + | |
| 5089 | + | |
5091 | 5090 | | |
5092 | | - | |
5093 | | - | |
5094 | | - | |
5095 | | - | |
5096 | | - | |
5097 | | - | |
| 5091 | + | |
| 5092 | + | |
| 5093 | + | |
| 5094 | + | |
| 5095 | + | |
5098 | 5096 | | |
5099 | 5097 | | |
5100 | 5098 | | |
| |||
0 commit comments