Skip to content

Commit

Permalink
Add debug log in removing assignment (milvus-io#17427)
Browse files Browse the repository at this point in the history
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
  • Loading branch information
XuanYang-cn authored Jun 8, 2022
1 parent 11fa3e2 commit 1dbfebf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/datacoord/channel_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,10 @@ func (c *ChannelManager) RemoveChannel(channelName string) error {
func (c *ChannelManager) remove(nodeID int64, ch *channel) error {
var op ChannelOpSet
op.Delete(nodeID, []*channel{ch})
log.Debug("remove channel assignment",
zap.Int64("nodeID to be removed", nodeID),
zap.String("channelID", ch.Name),
zap.Int64("collectionID", ch.CollectionID))
if err := c.store.Update(op); err != nil {
return err
}
Expand Down

0 comments on commit 1dbfebf

Please sign in to comment.