-
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 SnapshotLifecycleService and related CRUD APIs #39795
Conversation
Pinging @elastic/es-core-features |
I opened this as a |
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.
Left some comments - this looks like a good skeleton, though.
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/scheduler/SchedulerEngine.java
Outdated
Show resolved
Hide resolved
...gin/ilm/src/main/java/org/elasticsearch/xpack/snapshotlifecycle/SnapshotLifecyclePolicy.java
Outdated
Show resolved
Hide resolved
...n/ilm/src/main/java/org/elasticsearch/xpack/snapshotlifecycle/SnapshotLifecycleMetadata.java
Outdated
Show resolved
Hide resolved
...in/ilm/src/main/java/org/elasticsearch/xpack/snapshotlifecycle/SnapshotLifecycleService.java
Show resolved
Hide resolved
...in/ilm/src/main/java/org/elasticsearch/xpack/snapshotlifecycle/SnapshotLifecycleService.java
Show resolved
Hide resolved
...c/main/java/org/elasticsearch/xpack/snapshotlifecycle/action/GetSnapshotLifecycleAction.java
Outdated
Show resolved
Hide resolved
...in/ilm/src/main/java/org/elasticsearch/xpack/snapshotlifecycle/SnapshotLifecycleService.java
Show resolved
Hide resolved
@gwbrown thanks for taking a look. I pushed commits addressing your feedback, can you take another look please? |
Thanks @dakrone, most of the changes look good but I left one more comment on the |
@gwbrown okay, I pushed a commit copying the set. |
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 (assuming CI is still happy). Thanks!
@elasticmachine run elasticsearch-ci/bwc |
This commit adds `SnapshotLifecycleService` as a new service under the ilm plugin. This service handles snapshot lifecycle policies by scheduling based on the policies defined schedule. This also includes the get, put, and delete APIs for these policies Relates to elastic#38461
16a76c5
to
c5f7738
Compare
Pushed branch "snapshot-lifecycle-management" |
This commit adds
SnapshotLifecycleService
as a new service under the ilmplugin. This service handles snapshot lifecycle policies by scheduling based on
the policies defined schedule.
This also includes the get, put, and delete APIs for these policies
Relates to #38461