- Notifications
You must be signed in to change notification settings - Fork86
Commitffc8566
committed
[PBCKP-428] read_recovery_info don't need XRecOffIsValid(stop_lsn)
since it uses XLogFindNextRecord, it could use stop_lsn with no validoffset. In fact, it uses truncated stop_lsn with invalid offset always.Also fix getting timestamp from possible record in a future.We could not to not enter the loop since we need record->xl_prev tocorrectly walk backward. So we need to add condition beforegetRecordTimestamp.1 parent12b8bfb commitffc8566
1 file changed
+4
-8
lines changedLines changed: 4 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
540 | 540 |
| |
541 | 541 |
| |
542 | 542 |
| |
543 |
| - | |
544 |
| - | |
545 |
| - | |
546 |
| - | |
547 | 543 |
| |
548 | 544 |
| |
549 | 545 |
| |
| |||
581 | 577 |
| |
582 | 578 |
| |
583 | 579 |
| |
584 |
| - | |
585 |
| - | |
586 |
| - | |
587 |
| - | |
| 580 | + | |
588 | 581 |
| |
589 | 582 |
| |
590 | 583 |
| |
591 | 584 |
| |
592 | 585 |
| |
593 | 586 |
| |
| 587 | + | |
| 588 | + | |
| 589 | + | |
594 | 590 |
| |
595 | 591 |
| |
596 | 592 |
| |
|
0 commit comments
Comments
(0)