mirror of https://github.com/milvus-io/milvus.git
[skip ci]Update docs about index design (#11625)
Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>pull/11643/head
parent
2a01321b27
commit
7970c341a5
|
@ -67,14 +67,7 @@ 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