Skip to content

[7.16] [ML] Model snapshot upgrade needs a stats endpoint#81706

Merged
elasticsearchmachine merged 2 commits intoelastic:7.16from
droberts195:add_stats_for_model_upgrade_716
Dec 14, 2021
Merged

[7.16] [ML] Model snapshot upgrade needs a stats endpoint#81706
elasticsearchmachine merged 2 commits intoelastic:7.16from
droberts195:add_stats_for_model_upgrade_716

Conversation

@droberts195
Copy link

Previously the ML model snapshot upgrade endpoint did not
provide a way to reliably monitor progress. This could lead
to the upgrade assistant UI thinking that a model snapshot
upgrade had finished when it actually hadn't.

This change adds a new "stats" API that allows external
interested parties to find out the status of each model
snapshot upgrade and which node (if any) each is running on.

Backport of #81641

Previously the ML model snapshot upgrade endpoint did not
provide a way to reliably monitor progress. This could lead
to the upgrade assistant UI thinking that a model snapshot
upgrade had finished when it actually hadn't.

This change adds a new "stats" API that allows external
interested parties to find out the status of each model
snapshot upgrade and which node (if any) each is running on.

Backport of elastic#81641
@droberts195 droberts195 added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v7.16.2 labels Dec 14, 2021
@elasticsearchmachine elasticsearchmachine merged commit 0d40336 into elastic:7.16 Dec 14, 2021
@droberts195 droberts195 deleted the add_stats_for_model_upgrade_716 branch December 14, 2021 09:50
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 v7.16.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants