You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug]: when milvus service is down, search will retry many times. It will result the client wail for a long time, but got a timeout exception in the end.
#1848
Closed
1 task done
micronetboy opened this issue
Jan 4, 2024
· 3 comments
when milvus service is down, search will retry many times,finally return timeout。It will result the client wail for a long time, but got a timeout exception in the end.
I want it fast fail. No retry.
This is my search code:
collection.search(vectors_to_search, "embedding", search_params, expr=exp, limit=3, output_fields=["user_msg","npc_msg"], timeout=0.2)
Expected Behavior
I want it fast fail. No retry.
Steps/Code To Reproduce behavior
No response
Environment details
- Hardware/Softward conditions (OS, CPU, GPU, Memory):
- Method of installation (Docker, or from source):
- Milvus version (v0.3.1, or v0.4.0):
- Milvus configuration (Settings you made in `server_config.yaml`):
Anything else?
No response
The text was updated successfully, but these errors were encountered:
I don't fully understand why the supplied timeout has to be an int to be applicable for retries, given that the public APIs (search, insert, upsert...) specify the timeout as a float parameter. This means that the retry behaviour changes depending on the provided datatype (int or float).
Is there an existing issue for this?
Describe the bug
when milvus service is down, search will retry many times,finally return timeout。It will result the client wail for a long time, but got a timeout exception in the end.
I want it fast fail. No retry.
This is my search code:
collection.search(vectors_to_search, "embedding", search_params, expr=exp, limit=3, output_fields=["user_msg","npc_msg"], timeout=0.2)
Expected Behavior
I want it fast fail. No retry.
Steps/Code To Reproduce behavior
No response
Environment details
Anything else?
No response
The text was updated successfully, but these errors were encountered: