mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Refine querynode collection comment (#14136)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>pull/14164/head
parent
de97236410
commit
1af317e3a3
|
@ -81,7 +81,7 @@ func (c *Collection) addPartitionID(partitionID UniqueID) {
|
|||
log.Debug("queryNode collection info after add a partition", zap.Int64("collectionID", c.id), zap.Int64s("partitions", c.partitionIDs), zap.Any("releasePartitions", c.releasedPartitions))
|
||||
}
|
||||
|
||||
// removePartitionID remove the partition id from partition id list of collection
|
||||
// removePartitionID removes the partition id from partition id list of collection
|
||||
func (c *Collection) removePartitionID(partitionID UniqueID) {
|
||||
tmpIDs := make([]UniqueID, 0)
|
||||
for _, id := range c.partitionIDs {
|
||||
|
@ -92,7 +92,7 @@ func (c *Collection) removePartitionID(partitionID UniqueID) {
|
|||
c.partitionIDs = tmpIDs
|
||||
}
|
||||
|
||||
// addVChannels add virtual channels to collection
|
||||
// addVChannels adds virtual channels to collection
|
||||
func (c *Collection) addVChannels(channels []Channel) {
|
||||
c.channelMu.Lock()
|
||||
defer c.channelMu.Unlock()
|
||||
|
|
Loading…
Reference in New Issue