mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
8f6d324b2c
Multiple status files were being created by asynchronous archiving if a high-level error occurred after one or more WAL segments had already been transferred successfully. Error files were being written for every file in the queue regardless of whether it had already succeeded. To fix this, add an option to skip writing error files when an ok file already exists. There are other situations where both files might exist (various fsync and filesystem error scenarios) so it seems best to retry in the case that multiple status files are found rather than throwing a hard error (which then means that archiving is completely stuck). In the case of multiple status files, a warning will be logged to alert the user that something unusual is happening and the command will be retried. Reported by fpa-postgres, Joe Ayers, Douglas J Hunley. |
||
---|---|---|
.. | ||
Archive | ||
Backup | ||
Check | ||
Common | ||
Config | ||
Protocol | ||
Storage | ||
Db.pm | ||
DbVersion.pm | ||
Expire.pm | ||
InfoCommon.pm | ||
LibC.pm | ||
LibCAuto.pm | ||
Main.pm | ||
Manifest.pm | ||
Restore.pm | ||
RestoreFile.pm | ||
Stanza.pm | ||
Version.pm |