Skip to content

[8.x] [Transform] Wait while index is blocked (#119542) - #119803

Merged
elasticsearchmachine merged 1 commit into
elastic:8.xfrom
prwhelan:backport/8.x/pr-119542
Jan 8, 2025
Merged

elasticsearchmachine merged 1 commit into
elastic:8.xfrom
prwhelan:backport/8.x/pr-119542

Conversation

@prwhelan

@prwhelan prwhelan commented Jan 8, 2025

Copy link
Copy Markdown
Member

Backports the following commits to 8.x:

When the destination index is blocked, the bulk request is ignored.
Each subsequent trigger will check the cluster state if the index is
unblocked or else drop the trigger.

Users can call the ScheduleNow API to skip the index block check and let
the trigger start the next checkpoint - if the index is blocked then the
bulk request will fail again.

While the Transform is skipping triggers, the state will display as
`waiting` from the Get Stats API and on the Transform UI in Kibana.
@prwhelan prwhelan added :ml/Transform Transform >enhancement auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:ML Meta label for the ML team labels Jan 8, 2025
@elasticsearchmachine
elasticsearchmachine merged commit a3e65e7 into elastic:8.x Jan 8, 2025
@prwhelan
prwhelan deleted the backport/8.x/pr-119542 branch January 8, 2025 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >enhancement :ml/Transform Transform Team:ML Meta label for the ML team v8.18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants