aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/needle_map.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/needle_map.go')
-rw-r--r--weed/storage/needle_map.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/storage/needle_map.go b/weed/storage/needle_map.go
index a22125682..634685175 100644
--- a/weed/storage/needle_map.go
+++ b/weed/storage/needle_map.go
@@ -37,10 +37,10 @@ type NeedleMapper interface {
}
type baseNeedleMapper struct {
+ mapMetric
+
indexFile *os.File
indexFileAccessLock sync.Mutex
-
- mapMetric
}
func (nm *baseNeedleMapper) IndexFileSize() uint64 {