Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Compatibility issue--Flush retrun:'FlushRequest RPC failed!io.grpc.StatusRuntimeException: CANCELLED: Failed to read message.' #722

Closed
yongpengli-z opened this issue Dec 22, 2023 · 2 comments
Assignees

Comments

@yongpengli-z
Copy link
Collaborator

java-sdk: V2.2.15
milvus-server: V2.3.3 or V2.3-latest or maste
steps

R<FlushResponse> flushResponseR =
        milvusClient.flush(
            FlushParam.newBuilder()
                .withCollectionNames(collectionName)
                .withSyncFlush(Boolean.TRUE)
                .build());
    Assert.assertEquals(flushResponseR.getStatus().intValue(), 0);

Current result:

10:34:00.987 [main] [ERROR] io.milvus.client.AbstractMilvusGrpcClient:3271 --- FlushRequest RPC failed! Collection names:[CollectionAutoTest]
io.grpc.StatusRuntimeException: CANCELLED: Failed to read message.

user milvus-server: V2.2.16 return corrently:

R{status=0, data=status {
}
db_name: "default"
coll_segIDs {
  key: "CollectionAutoTest"
  value {
    data: 446485872424739913
    data: 446485872424739914
  }
}
flush_coll_segIDs {
  key: "CollectionAutoTest"
  value {
  }
}
coll_seal_times {
  key: "CollectionAutoTest"
  value: 1703212781
}
}
@xiaofan-luan
Copy link
Contributor

good catch!

@yongpengli-z
Copy link
Collaborator Author

protobuf dependency conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants