1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/lib/pgBackRest
David Steele 1ad67644da Remove request for S3 object info directly after putting it.
After a file is copied during backup the size is requested from the storage in case it differs from what was written so that repo-size can be reported accurately. This is useful for situations where compression is being done by the filesystem (e.g. ZFS) and what is stored can differ in size from what was written.

In S3 the reported size will always be exactly what was written so there is no need to check the size and doing so immediately can cause problems because the new file might not appear in list commands. This has not been observed on S3 (though it seems to be possible) but it has been reported on the Swift S3 gateway.

Add a driver capability to determine if size needs to be called after a file is written and if not then simply use the number of bytes written for repo-size.

Reported by Matt Kunkel.
2018-11-30 10:38:02 -05:00
..
Archive Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
Backup Remove request for S3 object info directly after putting it. 2018-11-30 10:38:02 -05:00
Check Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
Common Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
Config Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
Protocol Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
Storage Remove request for S3 object info directly after putting it. 2018-11-30 10:38:02 -05:00
Db.pm Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
DbVersion.pm Fix static WAL segment size used to determine if archive-push-queue-max has been exceeded. 2018-10-27 20:00:00 +01:00
Expire.pm Rename retention-* options to repo-retention-*. 2018-02-19 15:07:24 -05:00
Info.pm Rename CipherError to CryptoError. 2018-11-06 19:38:38 -05:00
InfoCommon.pm Added stanza-upgrade command. 2017-04-03 10:42:55 -04:00
LibC.pm Allow command/option constants to autonumber in both C and Perl to reduce churn when a new command/option is added. 2018-08-24 19:31:45 -04:00
LibCAuto.pm Merge crypto/random module into crypto/crypto. 2018-11-06 20:04:16 -05:00
Main.pm Improve log file names for remote processes started by locals. 2018-08-31 11:31:13 -04:00
Manifest.pm Automatically enable backup checksum delta when anomalies (e.g. timeline switch) are detected. 2018-11-01 11:31:25 -04:00
Restore.pm Improve support for special characters in filenames. 2018-09-10 10:54:34 -04:00
RestoreFile.pm Fix delta restore failing when a linked file was missing. 2018-05-02 12:06:12 -04:00
Stanza.pm Rename CipherError to CryptoError. 2018-11-06 19:38:38 -05:00
Version.pm Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00