[skip ci] Add comment for queryLock (#11526)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/11534/head
bigsheeper 2021-11-09 21:07:48 +08:00 committed by GitHub
parent 27771817ed
commit 9601a5ebfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ type ReplicaInterface interface {
getExcludedSegments(collectionID UniqueID) ([]*datapb.SegmentInfo, error)
// query mu
// queryLock guards query and delete operations
queryLock()
queryUnlock()
// queryRLock guards query and delete segment operations