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

Transition Transforms to using hidden indices for notifcations index #53773

Merged
merged 4 commits into from
Mar 20, 2020

Conversation

gwbrown
Copy link
Contributor

@gwbrown gwbrown commented Mar 18, 2020

This commit changes the Transforms notifications index to be hidden
index, with a hidden alias.

This commit also removes the temporary hack in
MetaDataCreateIndexService that prevents deprecation warnings for known
dot-prefixed index names which are not hidden/system indices, as this
was the last index pattern to need that hack.

/cc @jaymode

Fixes #53762

This commit changes the Transforms notifications index to be hidden
index, with a hidden alias.

This commit also removes the temporary hack in
MetaDataCreateIndexService that prevents deprecation warnings for known
dot-prefixed index names which are not hidden/system indices, as this
was the last index pattern to need that hack.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml/Transform)

Copy link
Contributor

@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

@gwbrown
Copy link
Contributor Author

gwbrown commented Mar 19, 2020

@elasticmachine update branch

@gwbrown
Copy link
Contributor Author

gwbrown commented Mar 19, 2020

Something appears to have happened in master recently and deprecation warnings seem to no longer being emitted over the REST interface when indices are created with dot-prefixed names (despite the unit tests for the deprecation warnings still working), and the test that failed did so because the deprecation warning it expected is not emitted. Going to hold off on merging this until I figure out what's going on there.

@gwbrown
Copy link
Contributor Author

gwbrown commented Mar 19, 2020

Per some discussion in Slack, looks like the change in behavior is related to #53785.

@DaveCTurner
Copy link
Contributor

That's correct @gwbrown, sorry for leaving master in this state. The effects on deprecation warnings weren't apparent until I started to backport the change. I'm reverting it in #53842.

@DaveCTurner
Copy link
Contributor

@elasticmachine update branch

@gwbrown
Copy link
Contributor Author

gwbrown commented Mar 20, 2020

Thanks @DaveCTurner, much appreciated! No worries, stuff happens. Just wanted to make sure I didn't have to make some other adjustment.

@gwbrown gwbrown merged commit 6332c40 into elastic:master Mar 20, 2020
gwbrown added a commit to gwbrown/elasticsearch that referenced this pull request Mar 20, 2020
…lastic#53773)

This commit changes the Transforms notifications index to be hidden
index, with a hidden alias.

This commit also removes the temporary hack in
MetaDataCreateIndexService that prevents deprecation warnings for known
dot-prefixed index names which are not hidden/system indices, as this
was the last index pattern to need that hack.
gwbrown added a commit that referenced this pull request Mar 20, 2020
…53773)

This commit changes the Transforms notifications index to be hidden
index, with a hidden alias.

This commit also removes the temporary hack in
MetaDataCreateIndexService that prevents deprecation warnings for known
dot-prefixed index names which are not hidden/system indices, as this
was the last index pattern to need that hack.
yyff pushed a commit to yyff/elasticsearch that referenced this pull request Apr 17, 2020
…lastic#53773)

This commit changes the Transforms notifications index to be hidden
index, with a hidden alias.

This commit also removes the temporary hack in
MetaDataCreateIndexService that prevents deprecation warnings for known
dot-prefixed index names which are not hidden/system indices, as this
was the last index pattern to need that hack.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transition .transform-notifications* to be hidden indices
6 participants