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

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
bigsheeper 2021-11-09 20:25:38 +08:00 committed by GitHub
parent b8a6a8dac0
commit 27771817ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,6 +109,7 @@ type ReplicaInterface interface {
// query mu
queryLock()
queryUnlock()
// queryRLock guards query and delete segment operations
queryRLock()
queryRUnlock()