mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 22:37:56 +08:00
count number of volumes and ec shards
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/chrislusf/seaweedfs/weed/stats"
|
||||
"github.com/chrislusf/seaweedfs/weed/storage/needle"
|
||||
"github.com/syndtr/goleveldb/leveldb/opt"
|
||||
|
||||
@@ -116,6 +117,8 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKind
|
||||
}
|
||||
}
|
||||
|
||||
stats.VolumeServerVolumeCounter.Inc()
|
||||
|
||||
return e
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user