From f5a0353fd1e4c1aa804ecdb7301b0cf78a7a3491 Mon Sep 17 00:00:00 2001 From: congqixia Date: Fri, 5 Jul 2024 11:14:08 +0800 Subject: [PATCH] enhance: [2.4] Continue loop when reassign channel fails (#34331) (#34425) Cherry-pick from master pr: #34331 Log will be confusing when `Reassign` channel operation failed for both success & failure log will be printed in row. This PR continue the loop to avoid this output. Signed-off-by: Congqi Xia --- internal/datacoord/channel_manager_v2.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/datacoord/channel_manager_v2.go b/internal/datacoord/channel_manager_v2.go index f9c11beff3..e2fe1bbab1 100644 --- a/internal/datacoord/channel_manager_v2.go +++ b/internal/datacoord/channel_manager_v2.go @@ -488,6 +488,7 @@ func (m *ChannelManagerImplV2) advanceStandbys(_ context.Context, standbys []*No zap.Int64("nodeID", nodeAssign.NodeID), zap.Strings("channels", chNames), ) + continue } log.Info("Reassign standby channels to node",