Skip to content

Conversation

@Mikep86
Copy link
Contributor

@Mikep86 Mikep86 commented Feb 13, 2025

Fixes a bug where the error handlers in ShardBulkInferenceActionFilter could cause an ArrayIndexOutOfBoundsException to 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. The ShardBulkInferenceActionFilter error handling logic did not account for this.

@Mikep86 Mikep86 added >bug auto-backport Automatically create backport pull requests when merged :SearchOrg/Relevance Label for the Search (solution/org) Relevance team v9.0.0 v8.18.0 v9.1.0 labels Feb 13, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/search-eng (Team:SearchOrg)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/search-relevance (Team:Search - Relevance)

@elasticsearchmachine
Copy link
Collaborator

Hi @Mikep86, I've created a changelog YAML for you.

Copy link
Contributor

@Samiul-TheSoccerFan Samiul-TheSoccerFan left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@kderusso kderusso left a comment

Choose a reason for hiding this comment

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

LGTM

@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.18
8.x
9.0

Mikep86 added a commit to Mikep86/elasticsearch that referenced this pull request Feb 18, 2025
Mikep86 added a commit to Mikep86/elasticsearch that referenced this pull request Feb 18, 2025
Mikep86 added a commit to Mikep86/elasticsearch that referenced this pull request Feb 18, 2025
Mikep86 added a commit to Mikep86/elasticsearch that referenced this pull request Feb 18, 2025
…lastic#122538)

(cherry picked from commit 229d392)

# Conflicts:
#	x-pack/plugin/inference/src/internalClusterTest/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterIT.java
@Mikep86
Copy link
Contributor Author

Mikep86 commented Feb 18, 2025

💔 Some backports could not be created

Status Branch Result
8.17
8.16 Conflict resolution was aborted by the user

Manual backport

To create the backport manually run:

backport --pr 122538

Questions ?

Please refer to the Backport tool documentation

@Mikep86
Copy link
Contributor Author

Mikep86 commented Feb 18, 2025

💚 All backports created successfully

Status Branch Result
8.16

Questions ?

Please refer to the Backport tool documentation

Mikep86 added a commit to Mikep86/elasticsearch that referenced this pull request Feb 18, 2025
…lastic#122538)

(cherry picked from commit 229d392)

# Conflicts:
#	x-pack/plugin/inference/src/internalClusterTest/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterIT.java
elasticsearchmachine pushed a commit that referenced this pull request Feb 18, 2025
…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
elasticsearchmachine pushed a commit that referenced this pull request Feb 18, 2025
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged >bug :SearchOrg/Relevance Label for the Search (solution/org) Relevance team v8.18.1 v8.19.0 v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants