Skip to content

[Transform] Remove legacy transform templates#80948

Merged
droberts195 merged 3 commits intoelastic:masterfrom
droberts195:remove_legacy_transform_templates
Nov 24, 2021
Merged

[Transform] Remove legacy transform templates#80948
droberts195 merged 3 commits intoelastic:masterfrom
droberts195:remove_legacy_transform_templates

Conversation

@droberts195
Copy link
Copy Markdown

Legacy transform templates will exist in clusters where
transforms were first used prior to 7.16.0. (From 7.16.0
transforms uses composable templates.)

Unlike ML, there's no danger these legacy templates date
back to 6.x and contain types, so they are not at risk of
being broken in 8.x. But it's still good to remove them
from the cluster to keep it as clean as possible.

Legacy transform templates will exist in clusters where
transforms were first used prior to 7.16.0. (From 7.16.0
transforms uses composable templates.)

Unlike ML, there's no danger these legacy templates date
back to 6.x and contain types, so they are not at risk of
being broken in 8.x. But it's still good to remove them
from the cluster to keep it as clean as possible.
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown

@przemekwitek przemekwitek 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
Copy Markdown

@hendrikmuhs hendrikmuhs left a comment

Choose a reason for hiding this comment

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

LGTM

An alternative would be to do this as part of the _upgrade endpoint (TransportUpgradeTransformsAction) next to the deletion of old indices. But as this is not re-occurring, it is simpler and sufficient to do this here.

@droberts195 droberts195 merged commit 89946c5 into elastic:master Nov 24, 2021
@droberts195 droberts195 deleted the remove_legacy_transform_templates branch November 24, 2021 09:54
droberts195 added a commit to droberts195/elasticsearch that referenced this pull request Nov 24, 2021
Legacy transform templates will exist in clusters where
transforms were first used prior to 7.16.0. (From 7.16.0
transforms uses composable templates.)

Unlike ML, there's no danger these legacy templates date
back to 6.x and contain types, so they are not at risk of
being broken in 8.x. But it's still good to remove them
from the cluster to keep it as clean as possible.
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
8.0

elasticsearchmachine pushed a commit that referenced this pull request Nov 24, 2021
Legacy transform templates will exist in clusters where
transforms were first used prior to 7.16.0. (From 7.16.0
transforms uses composable templates.)

Unlike ML, there's no danger these legacy templates date
back to 6.x and contain types, so they are not at risk of
being broken in 8.x. But it's still good to remove them
from the cluster to keep it as clean as possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants