forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita4ef032
committed
Emit log when restore_command succeeds but archived file faills to be restored.
Previously, when restore_command claimed to succeed but failed to restorethe file with the right name, for example, due to mis-configuration ofrestore_command, no log message was reported. Then the recovery failedlater with an error message not directly related to the issue.This commit changes the recovery so that a log message is emitted inthis error case. This would enable us to investigate what happened inthis case more easily.Author: Jeff Janes, Fujii MasaoReviewed-by: Pavel Borisov, Kyotaro HoriguchiDiscussion:https://postgr.es/m/CAMkU=1xkFs3Omp4JR4wMYWdam_KLuj6LXnTYfU8u3T0h=PLLMQ@mail.gmail.com1 parent49407dc commita4ef032
1 file changed
+6
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
220 | 220 |
| |
221 | 221 |
| |
222 | 222 |
| |
223 |
| - | |
224 |
| - | |
225 |
| - | |
226 |
| - | |
227 |
| - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
228 | 229 |
| |
229 | 230 |
| |
230 | 231 |
| |
|
0 commit comments
Comments
(0)