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

Allocate new indices on "hot" or "content" tier depending on data stream inclusion #62338

Merged
merged 12 commits into from
Sep 17, 2020

Conversation

dakrone
Copy link
Member

@dakrone dakrone commented Sep 14, 2020

This commit changes the default allocation on the "hot" tier to allocating the newly created index
to the "hot" tier if it is part of a new or existing data stream, and to the "content" tier if it is
not part of a data stream.

Overriding any of the index.routing.allocation.(include|exclude|require).* settings continues to
cause the initial allocation not to be set (no change in behavior).

Relates to #60848

…eam inclusion

This commit changes the default allocation on the "hot" tier to allocating the newly created index
to the "hot" tier if it is part of a new or existing data stream, and to the "content" tier if it is
not part of a data stream.

Overriding any of the `index.routing.allocation.(include|exclude|require).*` settings continues to
cause the initial allocation not to be set (no change in behavior).

Relates to elastic#60848
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Features)

@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Sep 14, 2020
Copy link
Contributor

@andreidan andreidan left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for implementing this Lee.

I've left a couple of uber minor suggestions

@dakrone
Copy link
Member Author

dakrone commented Sep 16, 2020

@elasticmachine run elasticsearch-ci/packaging-sample-windows

(CI timed out trying to download gradle)

1 similar comment
@dakrone
Copy link
Member Author

dakrone commented Sep 16, 2020

@elasticmachine run elasticsearch-ci/packaging-sample-windows

(CI timed out trying to download gradle)

@dakrone
Copy link
Member Author

dakrone commented Sep 16, 2020

@elasticmachine update branch

@dakrone
Copy link
Member Author

dakrone commented Sep 16, 2020

@elasticmachine update branch

@dakrone
Copy link
Member Author

dakrone commented Sep 17, 2020

@elasticmachine update branch

@dakrone dakrone merged commit 22d5465 into elastic:master Sep 17, 2020
@dakrone dakrone deleted the dt-allocate-on-hot-or-content branch September 17, 2020 14:52
dakrone added a commit to dakrone/elasticsearch that referenced this pull request Sep 17, 2020
…eam inclusion (elastic#62338)

This commit changes the default allocation on the "hot" tier to allocating the newly created index
to the "hot" tier if it is part of a new or existing data stream, and to the "content" tier if it is
not part of a data stream.

Overriding any of the index.routing.allocation.(include|exclude|require).* settings continues to
cause the initial allocation not to be set (no change in behavior).

Relates to elastic#60848
dakrone added a commit that referenced this pull request Sep 17, 2020
…ta stream inclusion (#62338) (#62557)

Backports the following commits to 7.x:

    Allocate new indices on "hot" or "content" tier depending on data stream inclusion (#62338)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Data Management Meta label for data/management team v7.10.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants