proxmox-backup/src/backup
Dominik Csapak 1399c592d1 garbage_collection: only ignore 'missing chunk' errors
with the fix for #2909 (improving handling missing chunks), we
changed from bailing to warning during a garbage collection when
updating the atime of a chunk.

but, updating the atime can not only fail when the chunk is missing,
but also on other occasions, e.g. no permissions or more importantly,
no space left on the device. in that case, the atime of a valid and used
chunk cannot be updated, and the second sweep of the gc will remove that chunk.
[0] is a real world example of that happening.

instead, only warn on really missin chunks, and bail on all other
errors.

0: https://forum.proxmox.com/threads/pbs-server-full-two-days-later-almost-empty.83274/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-02-01 09:18:59 +01:00
..
async_index_reader.rs async index reader: typedef ReadFuture 2021-01-26 09:53:58 +01:00
backup_info.rs remove BackupGroup::list_groups 2020-12-01 06:09:44 +01:00
catalog_shell.rs clippy: remove unnecessary let binding 2021-01-20 16:23:54 +01:00
catalog.rs clippy: misc. fixes 2021-01-20 16:23:54 +01:00
checksum_reader.rs switch from failure to anyhow 2020-04-17 18:43:30 +02:00
checksum_writer.rs clippy: remove unnecessary clones 2021-01-20 16:22:59 +01:00
chunk_stat.rs src/backup/chunk_stat.rs: log write speed 2019-02-25 13:21:00 +01:00
chunk_store.rs clippy: fix Mutex with unused value 2021-01-25 11:41:36 +01:00
chunk_stream.rs clippy: rewrite comparison chains 2021-01-25 11:41:39 +01:00
chunker.rs datastore/chunker: fix comment typos 2020-07-22 16:12:49 +02:00
crypt_config.rs tape: generate random encryptions keys and store key_config on media 2021-01-19 11:20:07 +01:00
crypt_reader.rs clippy: is_some/none/ok/err/empty 2021-01-20 16:23:54 +01:00
crypt_writer.rs switch from failure to anyhow 2020-04-17 18:43:30 +02:00
data_blob_reader.rs src/backup/data_blob_reader.rs: avoid unwrap() - return error instead 2020-07-10 11:28:19 +02:00
data_blob_writer.rs src/backup/file_formats.rs: remove signed chunks 2020-07-08 16:23:26 +02:00
data_blob.rs clippy: misc. fixes 2021-01-20 16:23:54 +01:00
datastore.rs garbage_collection: only ignore 'missing chunk' errors 2021-02-01 09:18:59 +01:00
dynamic_index.rs clippy: replace transmute with &* 2021-01-20 16:41:02 +01:00
file_formats.rs clippy: remove some unnecessary reference taking 2021-01-20 16:23:54 +01:00
fixed_index.rs clippy: replace transmute with &* 2021-01-20 16:41:02 +01:00
index.rs implement AsyncSeek for AsyncIndexReader 2020-07-22 17:28:49 +02:00
key_derivation.rs cleanup: always compute fingerprint in KeyConfig constructors 2021-01-21 11:56:54 +01:00
manifest.rs clippy: remove unnecessary clones 2021-01-20 16:22:59 +01:00
prune.rs derive/impl and use Default for some structs 2021-01-26 09:54:45 +01:00
read_chunk.rs chunk readers: ensure chunk/index CryptMode matches 2020-08-11 09:54:22 +02:00
store_progress.rs cleanup: use extra file for StoreProgress 2020-12-01 06:34:33 +01:00
verify.rs verify: factor out common parameters 2021-01-26 09:54:49 +01:00