[pbs-devel] [RFC proxmox-backup] fix #5710: api: backup: stat known chunks during backup

Dietmar Maurer dietmar at proxmox.com
Wed Sep 18 10:54:23 CEST 2024


> For this case, the index is initially copied over from the previous 
> snapshot and chunk digests inserted into the known chunks hashmap.
> On client side, only changed chunks are uploaded via the backup api, and 
> inserted in the fixed index on the corresponding index position. The 
> information which previously indexed chunk it replaced is however lacking.
> 
> Because of this, I currently tend to rather not modify the current 
> behavior and stat all of the known chunks.
> 
> Any thoughts on this? Is there a better approach I currently am failing 
> to see?

No, sorry. But Gabriel pointed out that this will have a negligible effect in most cases, so we can keep the current code if too difficult to implement.




More information about the pbs-devel mailing list