mirror of https://github.com/milvus-io/milvus.git
parent
29f0760e12
commit
c626b9000b
|
@ -233,6 +233,11 @@ func (node *QueryNode) InitSegcore() {
|
|||
C.InitCpuNum(cCPUNum)
|
||||
|
||||
initcore.InitLocalStorageConfig(Params)
|
||||
|
||||
mmapDirPath := paramtable.Get().QueryNodeCfg.MmapDirPath.GetValue()
|
||||
if len(mmapDirPath) > 0 {
|
||||
log.Info("mmap enabled", zap.String("dir", mmapDirPath))
|
||||
}
|
||||
}
|
||||
|
||||
// Init function init historical and streaming module to manage segments
|
||||
|
|
Loading…
Reference in New Issue