mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comment for queryRLock (#11455)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
a8d8490104
commit
40d199bac6
@ -141,6 +141,7 @@ func (colReplica *collectionReplica) queryUnlock() {
|
||||
colReplica.queryMu.Unlock()
|
||||
}
|
||||
|
||||
// queryRLock guards query and delete segment operations
|
||||
func (colReplica *collectionReplica) queryRLock() {
|
||||
colReplica.queryMu.RLock()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user