Browse Source

Update maintenance_scanner.go

add-ec-vacuum
chrislu 4 months ago
parent
commit
06c012ea60
  1. 2
      weed/admin/maintenance/maintenance_scanner.go

2
weed/admin/maintenance/maintenance_scanner.go

@ -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 {

Loading…
Cancel
Save