Browse Source

Match Go ScrubVolume: count total_files even on scrub error

rust-volume-server
Chris Lu 3 days ago
parent
commit
97419af55a
  1. 1
      seaweed-volume/src/server/grpc_server.rs

1
seaweed-volume/src/server/grpc_server.rs

@ -3143,6 +3143,7 @@ impl VolumeServer for VolumeGrpcService {
}
}
Err(e) => {
total_files += v.file_count().max(0) as u64;
broken_volume_ids.push(vid.0);
details.push(format!("vol {}: scrub error: {}", vid.0, e));
}

Loading…
Cancel
Save