From 2524fbd1e87b131be4ffdf21784ba3099e8487d6 Mon Sep 17 00:00:00 2001 From: jaime Date: Tue, 21 Dec 2021 21:55:12 +0800 Subject: [PATCH] [skip e2e] Fix grammar mistake in query_coord (#13918) Signed-off-by: yun.zhang Co-authored-by: yun.zhang --- internal/querycoord/query_coord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/querycoord/query_coord.go b/internal/querycoord/query_coord.go index c403f9e98d..398106bf57 100644 --- a/internal/querycoord/query_coord.go +++ b/internal/querycoord/query_coord.go @@ -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 {