mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Output log if mmap enabled (#22684)
Signed-off-by: yah01 <yang.cen@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user