aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/needle_map.go
diff options
context:
space:
mode:
authorGuo Lei <snipergg@163.com>2022-10-12 12:13:25 +0800
committerGitHub <noreply@github.com>2022-10-11 21:13:25 -0700
commit84c401e6932619be3861ba6be2049db69fbac43d (patch)
tree27f8304614cc5a50f933b28d70c5948063f34ad1 /weed/storage/needle_map.go
parentd21e2f523dd949def64e229640b4eb96b96866d2 (diff)
downloadseaweedfs-84c401e6932619be3861ba6be2049db69fbac43d.tar.xz
seaweedfs-84c401e6932619be3861ba6be2049db69fbac43d.zip
Optimiz leveldb metric (#3830)
* optimiz updating mapmetric for leveldb * import loading leveldb * add comments
Diffstat (limited to 'weed/storage/needle_map.go')
-rw-r--r--weed/storage/needle_map.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/storage/needle_map.go b/weed/storage/needle_map.go
index 682c88f78..0e49da959 100644
--- a/weed/storage/needle_map.go
+++ b/weed/storage/needle_map.go
@@ -48,7 +48,6 @@ type TempNeedleMapper interface {
NeedleMapper
DoOffsetLoading(v *Volume, indexFile *os.File, startFrom uint64) error
UpdateNeedleMap(v *Volume, indexFile *os.File, opts *opt.Options) error
- UpdateNeedleMapMetric(indexFile *os.File) error
}
func (nm *baseNeedleMapper) IndexFileSize() uint64 {