Skip to content

Conversation

prwhelan
Copy link
Member

@prwhelan prwhelan commented Sep 29, 2025

When there are no results for the current checkpoint, the checkpoint is considered successful, and the transform will reset its failure count.

This fixes a bug where transform will continue to report unhealthy if it previously failed to search the source index.

Resolve #135650


Ran new tests with iters=1000 and they passed

When there are no results for the current checkpoint, the checkpoint is
considered successful, and the transform will reset its failure count.

This fixes a bug where transform will continue to report unhealthy if it
previously failed to search the source index.

Resolve elastic#135650
@prwhelan prwhelan added >bug :ml Machine learning Team:ML Meta label for the ML team auto-backport Automatically create backport pull requests when merged v9.2.0 v8.19.5 v9.1.5 v8.18.8 v9.0.8 labels Sep 29, 2025
@prwhelan prwhelan marked this pull request as ready for review September 29, 2025 20:20
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@elasticsearchmachine
Copy link
Collaborator

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

@prwhelan prwhelan enabled auto-merge (squash) September 29, 2025 20:36
@prwhelan prwhelan merged commit 4e549cb into elastic:main Sep 29, 2025
34 checks passed
prwhelan added a commit to prwhelan/elasticsearch that referenced this pull request Sep 29, 2025
When there are no results for the current checkpoint, the checkpoint is
considered successful, and the transform will reset its failure count.

This fixes a bug where transform will continue to report unhealthy if it
previously failed to search the source index.

Resolve elastic#135650
prwhelan added a commit to prwhelan/elasticsearch that referenced this pull request Sep 29, 2025
When there are no results for the current checkpoint, the checkpoint is
considered successful, and the transform will reset its failure count.

This fixes a bug where transform will continue to report unhealthy if it
previously failed to search the source index.

Resolve elastic#135650
prwhelan added a commit to prwhelan/elasticsearch that referenced this pull request Sep 29, 2025
When there are no results for the current checkpoint, the checkpoint is
considered successful, and the transform will reset its failure count.

This fixes a bug where transform will continue to report unhealthy if it
previously failed to search the source index.

Resolve elastic#135650
prwhelan added a commit to prwhelan/elasticsearch that referenced this pull request Sep 29, 2025
When there are no results for the current checkpoint, the checkpoint is
considered successful, and the transform will reset its failure count.

This fixes a bug where transform will continue to report unhealthy if it
previously failed to search the source index.

Resolve elastic#135650
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.19
9.1
8.18
9.0

elasticsearchmachine pushed a commit that referenced this pull request Sep 30, 2025
When there are no results for the current checkpoint, the checkpoint is
considered successful, and the transform will reset its failure count.

This fixes a bug where transform will continue to report unhealthy if it
previously failed to search the source index.

Resolve #135650
elasticsearchmachine pushed a commit that referenced this pull request Sep 30, 2025
…135657)

* [Transform] Reset health status on successful noop (#135653)

When there are no results for the current checkpoint, the checkpoint is
considered successful, and the transform will reset its failure count.

This fixes a bug where transform will continue to report unhealthy if it
previously failed to search the source index.

Resolve #135650

* use old API for removing read blocks
prwhelan added a commit that referenced this pull request Sep 30, 2025
…135658)

When there are no results for the current checkpoint, the checkpoint is
considered successful, and the transform will reset its failure count.

This fixes a bug where transform will continue to report unhealthy if it
previously failed to search the source index.

Resolve #135650
elasticsearchmachine pushed a commit that referenced this pull request Sep 30, 2025
…135655)

* [Transform] Reset health status on successful noop (#135653)

When there are no results for the current checkpoint, the checkpoint is
considered successful, and the transform will reset its failure count.

This fixes a bug where transform will continue to report unhealthy if it
previously failed to search the source index.

Resolve #135650

* use old API for removing read blocks
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 :ml Machine learning Team:ML Meta label for the ML team v8.18.8 v8.19.5 v9.0.8 v9.1.5 v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Transform] Health status shows red/yellow when the Transform is healthy
3 participants