mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for addPartitionID (#9101)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/9107/head
parent
9e2dfb8100
commit
5b074732f5
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue