Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer require master node to install Watcher templates #85287

Merged
merged 2 commits into from
Mar 23, 2022

Conversation

jakelandis
Copy link
Contributor

The master node was required to install Watcher index templates
in earlier versions of 7.x to ensure that the master node was aware of
composable index templates.

When upgrading to 8.x this is no longer an issue since all upgrade paths
require elder version of Elasticsearch to be on a version that is aware of
composable index templates.

This should fix #85043 by
ensuring that the watcher history index template is always in place prior
to it's intended usage irregardless of the order of which nodes are upgraded.

@jakelandis jakelandis added >bug :Data Management/Watcher auto-backport-and-merge Automatically create backport pull requests and merge when ready v8.2.0 v8.1.2 labels Mar 23, 2022
@jakelandis jakelandis requested a review from dakrone March 23, 2022 16:31
@elasticsearchmachine
Copy link
Collaborator

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

@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Mar 23, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Member

@dakrone dakrone 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.1

jakelandis added a commit to jakelandis/elasticsearch that referenced this pull request Mar 23, 2022
…5287)

The master node was required to install Watcher index templates 
in earlier versions of 7.x to ensure that the master node was aware of
composable index templates. 

When upgrading to 8.x this is no longer an issue since all upgrade paths
require elder version of Elasticsearch to be on a version that is aware of 
composable index templates. 

This should fix elastic#85043 by 
ensuring that the watcher history index template is always in place prior
to it's intended usage irregardless of the order of which nodes are upgraded.
elasticsearchmachine pushed a commit that referenced this pull request Mar 23, 2022
…85294)

The master node was required to install Watcher index templates 
in earlier versions of 7.x to ensure that the master node was aware of
composable index templates. 

When upgrading to 8.x this is no longer an issue since all upgrade paths
require elder version of Elasticsearch to be on a version that is aware of 
composable index templates. 

This should fix #85043 by 
ensuring that the watcher history index template is always in place prior
to it's intended usage irregardless of the order of which nodes are upgraded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport-and-merge Automatically create backport pull requests and merge when ready >bug :Data Management/Watcher Team:Data Management Meta label for data/management team v8.1.2 v8.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Watcher history created as index with wrong mapping instead of data stream after 8.0 upgrade
4 participants