- Notifications
You must be signed in to change notification settings - Fork5
Commit7ccefe8
committed
Fix tli history file fetching, broken by the archive after crash recevery patch.
If we were about to enter archive recovery after crash recovery, we scannedthe archive for the latest tli history file, and set the recovery targettimeline to that. However, when we actually tried to read the history file,we would not fetch the file from the archive, because we were not in archiverecovery yet.To fix, make readTimeLineHistory and existsTimeLineHistory to always fetchthe file from archive if archive recovery is requested, even if we're not inarchive recovery yet.Backpatch to 9.2. Mitsumasa KONDO1 parent1908abc commit7ccefe8
File tree
3 files changed
+5
-10
lines changed- src
- backend/access/transam
- include/access
3 files changed
+5
-10
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
92 | 92 |
| |
93 | 93 |
| |
94 | 94 |
| |
95 |
| - | |
| 95 | + | |
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
| |||
213 | 213 |
| |
214 | 214 |
| |
215 | 215 |
| |
216 |
| - | |
| 216 | + | |
217 | 217 |
| |
218 | 218 |
| |
219 | 219 |
| |
| |||
316 | 316 |
| |
317 | 317 |
| |
318 | 318 |
| |
319 |
| - | |
| 319 | + | |
320 | 320 |
| |
321 | 321 |
| |
322 | 322 |
| |
|
Lines changed: 1 addition & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
200 | 200 |
| |
201 | 201 |
| |
202 | 202 |
| |
203 |
| - | |
| 203 | + | |
204 | 204 |
| |
205 | 205 |
| |
206 | 206 |
| |
| |||
4339 | 4339 |
| |
4340 | 4340 |
| |
4341 | 4341 |
| |
4342 |
| - | |
4343 |
| - | |
4344 |
| - | |
4345 |
| - | |
4346 |
| - | |
4347 | 4342 |
| |
4348 | 4343 |
| |
4349 | 4344 |
| |
| |||
4360 | 4355 |
| |
4361 | 4356 |
| |
4362 | 4357 |
| |
4363 |
| - | |
4364 | 4358 |
| |
4365 | 4359 |
| |
4366 | 4360 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
263 | 263 |
| |
264 | 264 |
| |
265 | 265 |
| |
| 266 | + | |
266 | 267 |
| |
267 | 268 |
| |
268 | 269 |
| |
|
0 commit comments
Comments
(0)