mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 11:59:24 +08:00
adjust memory layout to avoid possible nil pointer
This commit is contained in:
@@ -37,10 +37,10 @@ type NeedleMapper interface {
|
||||
}
|
||||
|
||||
type baseNeedleMapper struct {
|
||||
mapMetric
|
||||
|
||||
indexFile *os.File
|
||||
indexFileAccessLock sync.Mutex
|
||||
|
||||
mapMetric
|
||||
}
|
||||
|
||||
func (nm *baseNeedleMapper) IndexFileSize() uint64 {
|
||||
|
Reference in New Issue
Block a user