[skip ci]Update the format of content (#13146)

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
pull/13185/head
yanliang567 2021-12-10 16:44:29 +08:00 committed by GitHub
parent 8ad390c38a
commit 1839247f0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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