-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Fix ArrayIndexOutOfBoundsException in ShardBulkInferenceActionFilter #122538
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 ArrayIndexOutOfBoundsException in ShardBulkInferenceActionFilter #122538
Conversation
|
Pinging @elastic/search-eng (Team:SearchOrg) |
|
Pinging @elastic/search-relevance (Team:Search - Relevance) |
|
Hi @Mikep86, I've created a changelog YAML for you. |
...t/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterIT.java
Show resolved
Hide resolved
Samiul-TheSoccerFan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
kderusso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
...t/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterIT.java
Show resolved
Hide resolved
…lastic#122538) (cherry picked from commit 229d392) # Conflicts: # x-pack/plugin/inference/src/internalClusterTest/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterIT.java
💔 Some backports could not be created
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
…lastic#122538) (cherry picked from commit 229d392) # Conflicts: # x-pack/plugin/inference/src/internalClusterTest/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterIT.java
…Filter (#122538) (#122853) * Fix ArrayIndexOutOfBoundsException in ShardBulkInferenceActionFilter (#122538) (cherry picked from commit 229d392) # Conflicts: # x-pack/plugin/inference/src/internalClusterTest/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterIT.java * Fix compilation & test failures
…Filter (#122538) (#122854) * Fix ArrayIndexOutOfBoundsException in ShardBulkInferenceActionFilter (#122538) (cherry picked from commit 229d392) # Conflicts: # x-pack/plugin/inference/src/internalClusterTest/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterIT.java * Fix compilation & test failures
Fixes a bug where the error handlers in
ShardBulkInferenceActionFiltercould cause anArrayIndexOutOfBoundsExceptionto be thrown. Large bulk requests get split into multiple batches, causing their global index in the bulk request and local index in the batch to diverge. TheShardBulkInferenceActionFiltererror handling logic did not account for this.