mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[skip ci] Add comment for queryLock (#11376)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
dc1dc199a2
commit
b51fc9efa9
@ -131,6 +131,7 @@ type collectionReplica struct {
|
||||
etcdKV *etcdkv.EtcdKV
|
||||
}
|
||||
|
||||
// queryLock guards query and delete operations
|
||||
func (colReplica *collectionReplica) queryLock() {
|
||||
colReplica.queryMu.Lock()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user