1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test/expect
Cynthia Shang c5241e5007 Expire WAL archive only when repo-retention-archive threshold is met.
Previously when retention-archive was set (either by the user or by default), archives prior to the archive-start of the oldest remaining full backup (after backup expiration occurred) would be expired even though the retention-archive threshold had not been met. For example, if there were 1 full backup remaining after backup expiration and the retention-archive was set to 2 and retention-archive-type=full, then archives prior to the archive-start of the remaining full backup would still be removed even though retention-archive required 2 full backups remaining before archives should be expired.

The thought was to keep the archive directory clean and since the full backup did not require prior archives, it was safe to delete them. However, this has caused problems for some users in the past (because they needed the WAL for other purposes) and with the new adhoc and time-based retention features, it was decided that the archives should remain until the threshold was met. The archives will eventually be removed and if having them causes space issues, the expire command and the retention-archive can always be run and adjusted.
2020-04-29 08:06:49 -04:00
..
mock-all-001.log Add infrastructure for multiple compression type support. 2020-03-06 14:41:03 -05:00
mock-all-002.log Add lz4 compression support. 2020-03-10 14:45:27 -04:00
mock-archive-001.log Add lz4 compression support. 2020-03-10 14:45:27 -04:00
mock-archive-002.log Add SocketClient object. 2020-03-31 12:43:29 -04:00
mock-archive-stop-001.log Add infrastructure for multiple compression type support. 2020-03-06 14:41:03 -05:00
mock-archive-stop-002.log Add SocketClient object. 2020-03-31 12:43:29 -04:00
mock-expire-001.log Expire WAL archive only when repo-retention-archive threshold is met. 2020-04-29 08:06:49 -04:00
mock-expire-002.log Integration test improvements for disk and memory efficiency. 2019-12-17 15:23:07 -05:00
mock-stanza-001.log Expire WAL archive only when repo-retention-archive threshold is met. 2020-04-29 08:06:49 -04:00
mock-stanza-002.log Expire WAL archive only when repo-retention-archive threshold is met. 2020-04-29 08:06:49 -04:00
real-all-001.log Add --set option to the expire command. 2020-04-27 14:00:36 -04:00
real-all-002.log Add infrastructure for multiple compression type support. 2020-03-06 14:41:03 -05:00
real-all-003.log Add infrastructure for multiple compression type support. 2020-03-06 14:41:03 -05:00
real-all-004.log Add --set option to the expire command. 2020-04-27 14:00:36 -04:00
real-all-005.log Add infrastructure for multiple compression type support. 2020-03-06 14:41:03 -05:00
real-all-006.log Add infrastructure for multiple compression type support. 2020-03-06 14:41:03 -05:00