proxmox-backup/pbs-datastore
Fabian Grünbichler 42018aeae5 chunk store: handle insertion edge cases
these were previously called out in a comment, but should now be handled (as
much as they can be).

the performance impact shouldn't be too bad, since we only look at the magic 8
bytes at the start of the existing chunk (we already did a stat on it, so that
might even be prefetched already by storage), and only if there is a size
mismatch and encryption is enabled.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
 [ T: fold in "just to be sure" touch_chunk calls ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-04-06 09:36:51 +02:00
..
examples tree-wide: prefer api-type BackupGroup for logging 2022-05-16 18:49:19 +02:00
src chunk store: handle insertion edge cases 2023-04-06 09:36:51 +02:00
Cargo.toml move pbs_config::key_config to pbs-key-config 2022-12-12 14:19:52 +01:00