collect ec volume total volume size

This commit is contained in:
chrislu committed 2025-08-12 22:47:10 -07:00
1 parent 1485330547
commit c0e6d00bd3
4 files changed
+17 -5

No files matched your search

+1 -1
View File
@@ -956,7 +956,7 @@ func (s *AdminServer) getVolumeHealthFromServer(server string, volumeID uint32)
} else if deletionResp != nil {
// Create health info with deletion data
healthInfo = &EcVolumeHealthInfo{
TotalSize: totalSize, // May be 0 for EC-only volumes
TotalSize: deletionResp.TotalSize, // Get total size from EC deletion info
DeletedByteCount: deletionResp.DeletedBytes,
FileCount: fileCount,
DeleteCount: deletionResp.DeletedCount,