1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-04-28 21:04:55 +02:00
Files
pgbackrest/test
David Steele aabc122021 Fix issue with files larger on the replica than on the primary.
If a file on the primary was larger than on the replica then the next diff/incr backup would store the primary size instead of the replica size when block incremental was enabled. On the next diff/incr backup this would lead to a repo size must be > 0 for file error when validating the manifest.

Fix this by limiting copy based on sizeOriginal rather than size so size can be set to the value expected to be stored in the manifest. As a bonus sizePrior is no longer needed since size can be used for the same purpose.
2024-06-25 09:02:40 +08:00
..
2024-06-25 08:54:39 +08:00
2024-04-25 19:32:07 +10:00
2024-04-27 15:42:10 +10:00
2024-03-10 10:53:31 +13:00