[pbs-devel] applied: [PATCH proxmox-backup 0/4] pull/verify unified progress

Dietmar Maurer dietmar at proxmox.com
Tue Dec 1 06:40:59 CET 2020


applied, with some cleanups on top:

- removed unnecessary clone
- moved code into extra file: src/backup/store_progress.rs

> On 11/30/2020 4:27 PM Fabian Grünbichler <f.gruenbichler at proxmox.com> wrote:
> 
>  
> this series factors out and reuses the progress calculcation used by
> sync/pull for verification tasks, since the progress characteristics are
> rather similar:
> - we often skip big parts of groups (already synced/recently verified)
> - adding more snapshots within a group is usually fast (because of
>   deduplication/chunk reuse)
> 
> Fabian Grünbichler (4):
>   remove BackupGroup::list_groups
>   pull: factor out interpolated progress
>   progress: add format variants
>   verify: use same progress as pull
> 
>  src/api2/admin/datastore.rs |  4 +--
>  src/backup/backup_info.rs   | 14 --------
>  src/backup/datastore.rs     | 65 +++++++++++++++++++++++++++++++++++++
>  src/backup/verify.rs        | 61 +++++++++++++++-------------------
>  src/client/pull.rs          | 29 +++++++----------
>  src/server/prune_job.rs     |  4 +--
>  6 files changed, 108 insertions(+), 69 deletions(-)
> 
> -- 
> 2.20.1
> 
> 
> 
> _______________________________________________
> pbs-devel mailing list
> pbs-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel





More information about the pbs-devel mailing list