mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e] Fix grammar mistake in query_coord (#13918)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com> Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
This commit is contained in:
parent
cb0cbe2a37
commit
2524fbd1e8
@ -508,7 +508,7 @@ func (qc *QueryCoord) loadBalanceSegmentLoop() {
|
||||
sourceNodeID := availableNodeIDs[0]
|
||||
dstNodeID := availableNodeIDs[len(availableNodeIDs)-1]
|
||||
memUsageRateDiff := nodeID2MemUsageRate[sourceNodeID] - nodeID2MemUsageRate[dstNodeID]
|
||||
// if memoryUsageRate of source node is greater then 90%, and the max memUsageDiff is greater than 30%
|
||||
// if memoryUsageRate of source node is greater than 90%, and the max memUsageDiff is greater than 30%
|
||||
// then migrate the segments on source node to other query nodes
|
||||
if nodeID2MemUsageRate[sourceNodeID] > Params.OverloadedMemoryThresholdPercentage ||
|
||||
memUsageRateDiff > Params.MemoryUsageMaxDifferencePercentage {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user