-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Conversation
@dakrone, can you help to take a look at this PR? |
Pinging @elastic/es-core-features (Team:Core/Features) |
There was a problem hiding this 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
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/LifecyclePolicy.java
Outdated
Show resolved
Hide resolved
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/LifecyclePolicy.java
Outdated
Show resolved
Hide resolved
@elasticmachine ok to test |
@dakrone, thanks for your review, I have added some BWC code and all checks have passed yet. |
@elasticmachine test this please |
There was a problem hiding this 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.
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.
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
Co-authored-by: bellengao <[email protected]>
Relates to #70755.
The main changes of this PR are:
_meta
field to ILM policy.Create or update lifecycle policy API
.