mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-08-01 04:46:33 +00:00
Update maintenance_scanner.go
This commit is contained in:
@@ -301,7 +301,7 @@ func (ms *MaintenanceScanner) createECVolumeMetric(volumeID uint32) *VolumeHealt
|
||||
Age: 24 * time.Hour, // Default age
|
||||
}
|
||||
|
||||
// Calculate total size from all shards of this volume
|
||||
// Calculate total size from all shards of this volume
|
||||
if len(ecShardInfo.ShardSizes) > 0 {
|
||||
var totalShardSize uint64
|
||||
for _, shardSize := range ecShardInfo.ShardSizes {
|
||||
|
||||
Reference in New Issue
Block a user