[skip e2e] Refine querynode collection comment (#14136)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/14164/head
edward.zeng 2021-12-24 13:23:51 +08:00 committed by GitHub
parent de97236410
commit 1af317e3a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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()