garbage_collection: log bad chunks (still_bad value)
This commit is contained in:
parent
5499bd3dee
commit
b4fb262335
@ -562,6 +562,10 @@ impl DataStore {
|
|||||||
crate::task_log!(worker, "Removed bad files: {}", gc_status.removed_bad);
|
crate::task_log!(worker, "Removed bad files: {}", gc_status.removed_bad);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if gc_status.still_bad > 0 {
|
||||||
|
crate::task_log!(worker, "Bad chunks: {}", gc_status.removed_bad);
|
||||||
|
}
|
||||||
|
|
||||||
crate::task_log!(
|
crate::task_log!(
|
||||||
worker,
|
worker,
|
||||||
"Original data usage: {}",
|
"Original data usage: {}",
|
||||||
|
Loading…
Reference in New Issue
Block a user