mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comment for getPartitionNum (#10021)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
9f958f4b00
commit
db534419f9
@ -338,6 +338,7 @@ func (colReplica *collectionReplica) hasPartitionPrivate(partitionID UniqueID) b
|
||||
return ok
|
||||
}
|
||||
|
||||
// getPartitionNum returns num of partitions
|
||||
func (colReplica *collectionReplica) getPartitionNum() int {
|
||||
colReplica.mu.RLock()
|
||||
defer colReplica.mu.RUnlock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user