未验证 提交 66a04450 编写于 作者: Y yah01 提交者: GitHub

Fix LoadBalance Sync all segments to shard leaders (#18002)

Signed-off-by: Nyah <yang.cen@zilliz.com>
上级 27eca288
......@@ -2382,12 +2382,7 @@ func (lbt *loadBalanceTask) globalPostExecute(ctx context.Context) error {
}
for replicaID := range replicas {
shards := make([]string, 0, len(dmChannels))
for _, dmc := range dmChannels {
shards = append(shards, dmc.DmChannel)
}
err := syncReplicaSegments(lbt.ctx, lbt.meta, lbt.cluster, replicaID, shards...)
err := syncReplicaSegments(lbt.ctx, lbt.meta, lbt.cluster, replicaID)
if err != nil {
log.Error("loadBalanceTask: failed to sync segments distribution",
zap.Int64("collectionID", lbt.CollectionID),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册