mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: fix mmap enable log (#31439)
issue: https://github.com/milvus-io/milvus/issues/31443 Signed-off-by: sunby <sunbingyi1992@gmail.com>
This commit is contained in:
parent
a647b84f3e
commit
0fe2ac4c3a
@ -392,8 +392,7 @@ func (node *QueryNode) Start() error {
|
||||
|
||||
paramtable.SetCreateTime(time.Now())
|
||||
paramtable.SetUpdateTime(time.Now())
|
||||
mmapDirPath := paramtable.Get().QueryNodeCfg.MmapDirPath.GetValue()
|
||||
mmapEnabled := len(mmapDirPath) > 0
|
||||
mmapEnabled := paramtable.Get().QueryNodeCfg.MmapEnabled.GetAsBool()
|
||||
node.UpdateStateCode(commonpb.StateCode_Healthy)
|
||||
|
||||
registry.GetInMemoryResolver().RegisterQueryNode(node.GetNodeID(), node)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user