mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for queryRLock (#11455)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/11468/head
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…
Reference in New Issue