forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4cea603
committed
Remove piece of code to zero out minRecoveryPoint when starting crash
recovery. It's zeroed out whenever a checkpoint is written, so the onlyscenario where the removed code did anything is when you kill archiverecovery, remove recovery.conf, and start up the server, so that it goesinto crash recovery instead. That's a "don't do that" scenario, but itseems better to not clear minRecoveryPoint but instead update it like wedo in archive recovery, which is what will now happen.1 parent9a75803 commit4cea603
1 file changed
+1
-6
lines changedLines changed: 1 addition & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
5656 | 5656 |
| |
5657 | 5657 |
| |
5658 | 5658 |
| |
5659 |
| - | |
5660 |
| - | |
5661 |
| - | |
5662 |
| - | |
5663 |
| - | |
5664 | 5659 |
| |
5665 | 5660 |
| |
5666 | 5661 |
| |
|
0 commit comments
Comments
(0)