mirror of https://github.com/milvus-io/milvus.git
issue: https://github.com/milvus-io/milvus/issues/31443 related pr: https://github.com/milvus-io/milvus/pull/31439 Signed-off-by: sunby <sunbingyi1992@gmail.com>pull/31641/head^2
parent
8ba4677e50
commit
5d8bbea5e4
|
@ -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…
Reference in New Issue