milvus-io / milvus

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

[Bug]: The combination of Iterator query and expr has "or" expression results in an infinite loop #35995

Closed Ice-YcY closed 1 month ago

Ice-YcY commented 2 months ago

Is there an existing issue for this?

Environment

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

Current Behavior

The combination of Iterator query and expr has "or" expression results in an infinite loop image image image

Expected Behavior

get results successful

Steps To Reproduce

execute iterator query with expression(contains "or")

Milvus Log

No response

Anything else?

No response

yanliang567 commented 2 months ago

/assign @longjiquan /unassign

xiaofan-luan commented 2 months ago

/assign @MrPresent-Han

xiaofan-luan commented 2 months ago

I think this should be more like a java sdk bug.

Ice-YcY commented 2 months ago

this error is caused by java sdk issues. I have created a PR for this : https://github.com/milvus-io/milvus-sdk-java/pull/1058.

yanliang567 commented 1 month ago

I'd close this issue as comments above.