[skip ci] Add comment for addPartitionID (#9101)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/9107/head
bigsheeper 2021-10-03 00:38:13 +08:00 committed by GitHub
parent 9e2dfb8100
commit 5b074732f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ func (c *Collection) Schema() *schemapb.CollectionSchema {
return c.schema
}
// addPartitionID would add a partition id to partition id list of collection
func (c *Collection) addPartitionID(partitionID UniqueID) {
c.releaseMu.Lock()
defer c.releaseMu.Unlock()