[Bug]: PartitionNotFound if the partition was new created and never be flushed #26113
Closed
1 task done
Labels
kind/bug
Issues or changes related a bug
stale
indicates no udpates for 30 days
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Milestone
Is there an existing issue for this?
Environment
Current Behavior
Reproduction Process:
Create a table named "test" with two partitions, labeled as 1 and 2.
Insert a record into each partition, one in partition 1 and another in partition 2.
Perform searches on both partitions 1 and 2, which should return the respective records successfully.
Next, create a new partition labeled as 3 and insert a record into it. When attempting to search specifically in partition 3, the result shows "reason=stream operation failed: PartitionNotFound(partitionID=443277368143647844)".
After performing a flush operation, searches on partition 3 return the record normally.
After conducting multiple tests, it was observed that when creating one or two partitions initially and following steps 1, 2, and 3, searches work correctly. However, when executing step 4, an exception is encountered.
Expected Behavior
it should normal return result
Steps To Reproduce
Milvus Log
Failed to search vectors in Milvus: <MilvusException: (code=1, message=fail to search on all shard leaders, err=All attempts results:\nattempt #1:code: UnexpectedError, error: fail to Search, QueryNode ID=6, reason=stream operation failed: PartitionNotFound(partitionID=443277368143647844)\nattempt #2:context canceled\n)
Anything else?
No response
The text was updated successfully, but these errors were encountered: