1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test/lib/pgBackRestTest/Env/Host
David Steele 4a73a02863
Simplify manifest defaults.
Manifest defaults for user, group, and mode were previously generated by scanning the data to find the most common values. This was very accurate but slow and complicated. It could also lead to surprising changes in the manifest when a default value suddenly changed.

Instead, use the $PGDATA path to generate defaults. In the vast majority of cases the same user/group should own all the path/files and the default file mode is easily derived from the path mode. There may be some edge cases where this generates larger manifests, but in general it reduces time and complexity when saving the manifest.

Remove the MCV code since it is longer longer used.
2022-01-21 15:22:48 -05:00
..
HostAzureTest.pm Adjustments for new breaking change in Azurite. 2021-10-25 15:42:28 -04:00
HostBackupTest.pm Simplify manifest defaults. 2022-01-21 15:22:48 -05:00
HostBaseTest.pm Rename server-start command to server. 2021-11-18 17:23:11 -05:00
HostDbCommonTest.pm Add TLS Server. 2021-10-18 14:32:41 -04:00
HostDbSyntheticTest.pm Remove primary flag from manifest. 2022-01-20 14:01:10 -05:00
HostDbTest.pm Use the PG_FILE_POSTMTRPID constant where appropriate. 2022-01-20 08:41:05 -05:00
HostGcsTest.pm GCS support for repository storage. 2021-03-05 12:13:51 -05:00
HostS3Test.pm Use minio latest in documentation and integration tests. 2021-01-26 11:25:29 -05:00