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

fix(java-client): add missing elements that will lead to misalignment and IndexOutOfBoundsException for resultMapList in batchGetByPartitions #1411

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

WHBANG
Copy link
Contributor

@WHBANG WHBANG commented Mar 23, 2023

What problem does this PR solve?

#1410

In batchGetByPartitions, once some exception happens (such as timeout), resultMapList
will miss element which will lead to misalignment and IndexOutOfBoundsException. Just
add an empty element for resultMapList to align it while exception happens.

@WHBANG WHBANG changed the title Fix java client interface 'batchGetByPartitions' may throw IndexOutOfBoundsException fix(java-client): java client interface 'batchGetByPartitions' may throw IndexOutOfBoundsException Mar 23, 2023
@empiredan empiredan changed the title fix(java-client): java client interface 'batchGetByPartitions' may throw IndexOutOfBoundsException fix(java-client): add missing elements that may lead to IndexOutOfBoundsException for resultMapList in batchGetByPartitions Mar 23, 2023
@empiredan empiredan changed the title fix(java-client): add missing elements that may lead to IndexOutOfBoundsException for resultMapList in batchGetByPartitions fix(java-client): add missing elements that will lead to misalignment and IndexOutOfBoundsException for resultMapList in batchGetByPartitions Mar 23, 2023
@empiredan empiredan merged commit 5761893 into apache:master Mar 23, 2023
@empiredan empiredan mentioned this pull request Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants