milvus-logo
Star
0
Forks
0
Get Started

loadBalance()

Do load balancing operation from source query node to destination query node. Only work in milvus cluster.

Invocation

new milvusClient(MILUVS_ADDRESS).dataManager.loadBalance(LoadBalanceReq);

Parameter

LoadBalanceReq

ParameterDescriptiontyperequired
src_nodeIDThe source query node id to balance.Numbertrue
dst_nodeIDsThe destination query node ids to balance.(optional)Number[]false
sealed_segmentIDsSealed segment ids to balance.(optional)Number[]false

Example

new milvusClient(MILUVS_ADDRESS).dataManager.loadBalance({
  src_nodeID: 31,
});

Return

// getQuerySegmentInfo return