[pbs-devel] applied: [PATCH proxmox-backup v2] fix #4823: datastore: ignore vanished files when walking directory
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Sep 18 16:44:17 CEST 2023
Am 08/09/2023 um 14:56 schrieb Gabriel Goller:
> When walking through a datastore on a GC run, it can
> happen that the snapshot is deleted, and then walked over.
> For example:
> - read dir entry for group
> - walk entries (snapshots)
> - snapshot X is removed/pruned
> - walking reaches snapshot X, but ENOENT
> Previously we bailed here, now we just ignore it.
> Backups that are just created (and a atomic rename from
> tmpdir happens, which might triggers a ENOENT error) are
> not a problem here, the GC handles them separately.
>
> Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
> ---
>
> update v2:
> - rebased, added log message
>
> pbs-datastore/src/datastore.rs | 3 +++
> 1 file changed, 3 insertions(+)
>
>
applied, thanks!
More information about the pbs-devel
mailing list