congqixia 94f0951f0d
Fix query lock logic in query shard (#17034)
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: Congqi Xia <congqi.xia@zilliz.com>
2022-05-16 18:23:55 +08:00
..
2021-11-16 15:41:11 +08:00
2022-05-07 10:27:51 +08:00
2022-05-07 10:27:51 +08:00
2022-05-07 10:27:51 +08:00
2022-05-07 10:27:51 +08:00