proxmox-backup/pbs-datastore
Gabriel Goller 9d1ba51de7 fix #4823: datastore: ignore vanished files when walking directory
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@proxmox.com>
2023-09-18 16:42:39 +02:00
..
examples pbs-datastore: clippy fixes 2023-05-17 17:43:17 +02:00
src fix #4823: datastore: ignore vanished files when walking directory 2023-09-18 16:42:39 +02:00
Cargo.toml api-types: client: datastore: tools: use proxmox-human-bytes crate 2023-06-26 13:56:45 +02:00