mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: Channel may be released after balance (#37862)
issue: #37830 casue dist handler doesn't set channel's version, so if channel checker try to dedup channel, it may release the new delegator after balance finished. this PR fix the way to set proper version for channel. Signed-off-by: Wei Liu <wei.liu@zilliz.com>
This commit is contained in:
parent
f3a36f8a29
commit
b983ef9fca
6
internal/querycoordv2/dist/dist_handler.go
vendored
6
internal/querycoordv2/dist/dist_handler.go
vendored
@ -181,7 +181,11 @@ func (dh *distHandler) updateChannelsDistribution(resp *querypb.GetDataDistribut
|
||||
Version: ch.GetVersion(),
|
||||
}
|
||||
} else {
|
||||
channel = channelInfo.Clone()
|
||||
channel = &meta.DmChannel{
|
||||
VchannelInfo: channelInfo.VchannelInfo,
|
||||
Node: resp.GetNodeID(),
|
||||
Version: ch.GetVersion(),
|
||||
}
|
||||
}
|
||||
updates = append(updates, channel)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user