mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-21 13:34:26 +02:00
collect ec volume total volume size
This commit is contained in:
1 parent
1485330547
commit
c0e6d00bd3
4 files changed
+17
-5
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user