proxmox-backup/pbs-datastore/src
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
..
backup_info.rs tree-wide: bump edition to 2021 2022-12-06 13:31:01 +01:00
cached_chunk_reader.rs datastore: clippy fixes 2022-07-27 15:26:50 +02:00
catalog.rs fix #4380: check if file is excluded before running stat() 2023-08-24 10:17:41 +02:00
checksum_reader.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
checksum_writer.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
chunk_stat.rs pbs-datastore: clippy fixes 2023-05-17 17:43:17 +02:00
chunk_store.rs pbs-datastore: clippy fixes 2023-05-17 17:43:17 +02:00
chunker.rs add pbs-datastore module 2021-07-06 15:11:52 +02:00
crypt_reader.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
crypt_writer.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
data_blob_reader.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
data_blob_writer.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
data_blob.rs update zstd to 0.12 2023-05-21 15:32:45 +02:00
datastore.rs fix #4823: datastore: ignore vanished files when walking directory 2023-09-18 16:42:39 +02:00
dynamic_index.rs pbs-datastore: clippy fixes 2023-05-17 17:43:17 +02:00
file_formats.rs blobs: fix outdated comment about file format 2023-08-08 13:57:06 +02:00
fixed_index.rs datastore: rustfmt 2023-01-19 11:37:24 +01:00
hierarchy.rs more clippy fixes and annotations 2022-07-26 14:05:25 +02:00
index.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
lib.rs datastore: factor type out of ListGroups into ListGroupsType 2022-07-14 11:17:15 +02:00
local_chunk_reader.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
manifest.rs move pbs_config::key_config to pbs-key-config 2022-12-12 14:19:52 +01:00
paperkey.rs pbs-datastore: clippy fixes 2023-05-17 17:43:17 +02:00
prune.rs add prune jobs api 2022-05-30 13:58:43 +02:00
read_chunk.rs move chunk_stat, read_chunk to pbs-datastore 2021-07-09 10:40:14 +02:00
snapshot_reader.rs backup/snapshot reader: improve error message for ENOENT 2023-02-08 15:19:29 +01:00
store_progress.rs datastore: rustfmt whole package 2022-04-14 13:27:53 +02:00
task_tracking.rs pbs-datastore: clippy fixes 2023-05-17 17:43:17 +02:00