mirror of https://github.com/milvus-io/milvus.git
[skip ci]Update the format of content (#13146)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>pull/13185/head
parent
8ad390c38a
commit
1839247f0e
|
@ -67,7 +67,11 @@ IndexNode is a node that executes index building tasks.
|
|||
|
||||
### 8.3.2 NodeManager
|
||||
|
||||
NodeManager is responsible for managing the node information of IndexNode, and contains a priority queue to save the load information of each IndexNode. The load information of IndexNode is based on the number of tasks executed. When the IndexCoord service starts, it first obtains the node information of all current IndexNodes from etcd, and then adds the node information to the NodeManager. After that, the online and offline information of IndexNode node is obtained from watchNodeLoop. Then it will traverse the entire MetaTable, get the load information corresponding to each IndexNode node, and update the priority queue in the NodeManager. When an index building task needs to be allocated, the IndexNode with the lowest load will be selected according to the priority queue to execute the task.
|
||||
NodeManager is responsible for managing the node information of IndexNode, and contains a priority queue to save the load information of each IndexNode.
|
||||
The load information of IndexNode is based on the number of tasks executed. When the IndexCoord service starts, it first obtains the node information of all current IndexNodes from etcd,
|
||||
and then adds the node information to the NodeManager. After that, the online and offline information of IndexNode node is obtained from watchNodeLoop.
|
||||
Then it will traverse the entire MetaTable, get the load information corresponding to each IndexNode node, and update the priority queue in the NodeManager.
|
||||
When an index building task needs to be allocated, the IndexNode with the lowest load will be selected according to the priority queue to execute the task.
|
||||
|
||||
### 8.3.3 MetaTable
|
||||
|
||||
|
|
Loading…
Reference in New Issue