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

Add _meta field to ilm policy #73515

Merged
merged 3 commits into from
Jun 1, 2021
Merged

Conversation

gaobinlong
Copy link
Contributor

Relates to #70755.

The main changes of this PR are:

  1. Add an optional _meta field to ILM policy.
  2. Add some test code about the change.
  3. Update the doc of Create or update lifecycle policy API.

@elasticsearchmachine elasticsearchmachine added the external-contributor Pull request authored by a developer outside the Elasticsearch team label May 28, 2021
@gaobinlong
Copy link
Contributor Author

@dakrone, can you help to take a look at this PR?

@jrodewig jrodewig added :Data Management/ILM+SLM Index and Snapshot lifecycle management v7.14.0 v8.0.0 labels May 28, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label May 28, 2021
@elasticmachine
Copy link
Collaborator

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

@dakrone dakrone self-requested a review May 28, 2021 21:14
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.

Thanks for working on this @gaobinlong! I left a couple of comments, we need to add BWC version checks for the serialization

@dakrone
Copy link
Member

dakrone commented May 28, 2021

@elasticmachine ok to test

@gaobinlong
Copy link
Contributor Author

@dakrone, thanks for your review, I have added some BWC code and all checks have passed yet.

@dakrone
Copy link
Member

dakrone commented Jun 1, 2021

@elasticmachine test this please

@dakrone dakrone self-requested a review June 1, 2021 15:35
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, thanks for adding this @gaobinlong! I'll merge this and work on backporting it.

@dakrone dakrone merged commit b6fd1bb into elastic:master Jun 1, 2021
dakrone pushed a commit to dakrone/elasticsearch that referenced this pull request Jun 1, 2021
Relates to elastic#70755.

The main changes of this PR are:

    Add an optional _meta field to ILM policy.
    Add some test code about the change.
    Update the doc of Create or update lifecycle policy API.
dakrone added a commit to dakrone/elasticsearch that referenced this pull request Jun 1, 2021
This commit disables BWC tests until the PRs adding `_meta` to ILM policies can be backported and
version constants added.

Relates: elastic#73515, elastic#73624
dakrone added a commit that referenced this pull request Jun 1, 2021
This commit disables BWC tests until the PRs adding `_meta` to ILM policies can be backported and
version constants added.

Relates: #73515, #73624
dakrone added a commit that referenced this pull request Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management >enhancement external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Data Management Meta label for data/management team v7.14.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants