[skip ci] Add comment for queryUnlock (#11377)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/11382/head
bigsheeper 2021-11-06 19:58:58 +08:00 committed by GitHub
parent b51fc9efa9
commit 436d530432
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ func (colReplica *collectionReplica) queryLock() {
colReplica.queryMu.Lock()
}
// queryUnlock guards query and delete segment operations
func (colReplica *collectionReplica) queryUnlock() {
colReplica.queryMu.Unlock()
}