Skip to content

Conversation

@martijnvg
Copy link
Member

@martijnvg martijnvg commented Feb 8, 2022

Ensure that index_mode field in data stream template is behind es.index_mode_feature_flag_registered feature flag.
This was not the case and and using this would cause errors, because large part of tsdb is currently behind feature flag.

This isn't a bug yet, because 8.1.0 hasn't been released yet.

Ensure that `index_mode` field in data stream template is behind `es.index_mode_feature_flag_registered` feature flag. This was not the case.
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Feb 8, 2022
@elasticmachine
Copy link
Collaborator

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

@martijnvg martijnvg requested a review from imotov February 8, 2022 15:38
@martijnvg martijnvg added the test-release Trigger CI checks against release build label Feb 8, 2022
tasks.named("yamlRestTest").configure{enabled = false }
}

if (BuildParams.isSnapshotBuild() == false) {
Copy link
Member Author

Choose a reason for hiding this comment

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

This should have been added via #83391, but didn't label that pr with release-test label.

@martijnvg
Copy link
Member Author

I'm fixing the the release build before this pr in #83720. Changes not related to this change should be merged in first to fix the release build.

Copy link
Contributor

@imotov imotov left a comment

Choose a reason for hiding this comment

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

Looks like we need to hunt down and add systemProperty 'es.index_mode_feature_flag_registered', 'true' to a few other builds. But the rest LGTM.

@martijnvg
Copy link
Member Author

@elasticmachine run elasticsearch-ci/bwc

@martijnvg martijnvg added auto-backport Automatically create backport pull requests when merged and removed auto-backport-and-merge labels Feb 10, 2022
@martijnvg martijnvg merged commit 50bba6b into elastic:master Feb 10, 2022
martijnvg added a commit to martijnvg/elasticsearch that referenced this pull request Feb 10, 2022
Ensure that `index_mode` field in data stream template is behind `es.index_mode_feature_flag_registered` feature flag. This was not the case.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.1
elasticsearchmachine pushed a commit that referenced this pull request Feb 11, 2022
Ensure that `index_mode` field in data stream template is behind `es.index_mode_feature_flag_registered` feature flag. This was not the case. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
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 :Data Management/Data streams Data streams and their lifecycles >non-issue Team:Data Management Meta label for data/management team test-release Trigger CI checks against release build v8.1.0 v8.2.0

4 participants