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

ISPN-15738 Avoid individual GET by Key in distributed query aggregation #12030

Merged
merged 2 commits into from Feb 22, 2024

Conversation

pruivo
Copy link
Member

@pruivo pruivo commented Feb 21, 2024

Use getAll to fetch multiple keys in a single RPC request. The batch is the same as the chunk-size for state transfer.

https://issues.redhat.com/browse/ISPN-15738

Copy link
Contributor

@fax4ever fax4ever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks nice. I have few doubts. I think that we should add some more tests.

Use getAll to fetch multiple keys in a single RPC request.
The batch is the same as the chunk-size for state transfer.
@pruivo
Copy link
Member Author

pruivo commented Feb 21, 2024

@fax4ever about the testing, just point me to the correct class and what kind of tests you have in mind.

Copy link
Contributor

@fax4ever fax4ever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fax4ever about the testing, just point me to the correct class and what kind of tests you have in mind.

@pruivo great job. This looks a very nice improvement for the distributed queries.
I'm pushing a commit with a test case. Feel free to merge it or review it.

In particular if the state transfer chunk size is larger and smaller than the max results
@tristantarrant tristantarrant merged commit 327bc30 into infinispan:main Feb 22, 2024
7 of 8 checks passed
@pruivo pruivo deleted the t_15738 branch February 22, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants