From 2cf7bb8a5b75f28335833dbca50d0d8d39270062 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Wed, 10 Nov 2021 20:03:51 +0800 Subject: [PATCH] [skip ci]Fix golint for LoadBalance in QueryCoord (#11570) Signed-off-by: Cai.Zhang --- internal/distributed/querycoord/client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/querycoord/client/client.go b/internal/distributed/querycoord/client/client.go index 64c192759d..c5633482fe 100644 --- a/internal/distributed/querycoord/client/client.go +++ b/internal/distributed/querycoord/client/client.go @@ -418,6 +418,7 @@ func (c *Client) GetSegmentInfo(ctx context.Context, req *querypb.GetSegmentInfo return ret.(*querypb.GetSegmentInfoResponse), err } +// LoadBalance migrate the sealed segments on the source node to the dst nodes. func (c *Client) LoadBalance(ctx context.Context, req *querypb.LoadBalanceRequest) (*commonpb.Status, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient()