[skip ci] Add comment for queryRLock (#11455)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/11468/head
bigsheeper 2021-11-08 21:03:45 +08:00 committed by GitHub
parent a8d8490104
commit 40d199bac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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