• C
    Fix query lock logic in query shard (#17034) · 94f0951f
    congqixia 提交于
    Previously query shard locks the querylock in collectionReplica before any search/query
    The lock range is too large and easy to cause dead lock
    
    This PR makes following changes:
    - Rename collectionReplica to metaReplica which is more reasonable
    - Make release collection operation cancels waiting search/query request
    - Reduce the queryLock to collection level
    - Add some unit tests for timeout & released case
    Signed-off-by: NCongqi Xia <congqi.xia@zilliz.com>
    94f0951f
task.go 26.1 KB