[pbs-devel] [PATCH 0/5] backup validation improvements
Stefan Reiter
s.reiter at proxmox.com
Wed Sep 30 15:25:17 CEST 2020
First patch skips server-side validation (existance check) of last snapshot's
chunks if the base was verified successfully at least 7 days ago. With verify
scheduling this means that users can avoid the overhead during backups by doing
weekly verifications.
The latter 4 patches (marked RFC, not sure if the idea is that sound) make the
validation happen in a seperate thread. This requires some modifications to
ParallelHandler and carries the tradeoff that we have to verify *all* chunks of
the last backup, since when the thread starts we don't know yet which ones the
client will upload and overwrite anyway.
proxmox-backup: Stefan Reiter (5):
backup: don't validate chunk existance if base was recently verified
ParallelHandler add unbounded mode
ParallelHandler: add check_abort function and handle errors during
join
ParallelHandler: exit early if this or other thread aborted
backup: validate chunk existance in background
src/api2/backup/environment.rs | 172 ++++++++++++++++++++++++---------
src/backup/verify.rs | 3 +-
src/client/pull.rs | 3 +-
src/tools/parallel_handler.rs | 68 ++++++++++---
4 files changed, 183 insertions(+), 63 deletions(-)
--
2.20.1
More information about the pbs-devel
mailing list