milvus-io / milvus

A cloud-native vector database, storage for next generation AI applications
https://milvus.io
Apache License 2.0
31.02k stars 2.95k forks source link

[Bug]: Search/Query may failed during updating delegator cache #37115

Open weiliu1031 opened 1 month ago

weiliu1031 commented 1 month ago

Is there an existing issue for this?

Environment

- Milvus version:master and 2.4
- Deployment mode(standalone or cluster):
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): 
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

proxy will update shard leader cache first, then release the lock and try to init shard client. which cause a period that user can get shard leader from meta cache, but can't find shard client from shard client manager

Expected Behavior

No response

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

weiliu1031 commented 1 month ago

/assign