mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Add debug log in removing assignment (#17427)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
This commit is contained in:
parent
11fa3e24dd
commit
1dbfebf827
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user