mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-16 10:20:02 +02:00
a8fb285756
Check that archive files exist in the main process instead of the local process. This means that the archive.info file only needs to be loaded once per execution rather than once per file to get. Stop looking when a file is missing or in error. PostgreSQL will never request anything past the missing file so there is no point in getting them. This also reduces "unable to find" logging in the async process. Cache results of storageList() when looking for multiple files to reduce storage I/O. Look for all requested archive files in the archive-id where the first file is found. They may not all be there, but this reduces the number of list calls. If subsequent files are in another archive id they will be found on the next archive-get call. |
||
---|---|---|
.. | ||
build | ||
command | ||
common | ||
config | ||
db | ||
info | ||
postgres | ||
protocol | ||
storage | ||
.gitignore | ||
build.auto.h.in | ||
configure | ||
main.c | ||
Makefile.in | ||
version.h |