aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/disk_location.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-10-03 08:15:18 -0700
committerchrislu <chris.lu@gmail.com>2023-10-03 08:15:18 -0700
commit451ec6504d07812b074555a1fbb2a831bfa8e5e3 (patch)
tree636916fb97379b46befdf46771892a574118b0ce /weed/storage/disk_location.go
parentf9abfd0b03b67e3fa876fcacf584edf378164eb9 (diff)
downloadseaweedfs-451ec6504d07812b074555a1fbb2a831bfa8e5e3.tar.xz
seaweedfs-451ec6504d07812b074555a1fbb2a831bfa8e5e3.zip
fix compilation
Diffstat (limited to 'weed/storage/disk_location.go')
-rw-r--r--weed/storage/disk_location.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.go
index b7fa82197..377189c56 100644
--- a/weed/storage/disk_location.go
+++ b/weed/storage/disk_location.go
@@ -177,6 +177,7 @@ func (l *DiskLocation) loadExistingVolume(dirEntry os.DirEntry, needleMapKind Ne
}
l.SetVolume(vid, v)
+ stats.VolumeServerVolumeCounter.WithLabelValues(v.Collection, "volume", v.DiskType().ReadableString()).Inc()
size, _, _ := v.FileStat()
glog.V(0).Infof("data file %s, replication=%s v=%d size=%d ttl=%s",