Skip to content

Commit

Permalink
added jdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvg committed Aug 15, 2023
1 parent 3a965d4 commit a78c826
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@

import static org.elasticsearch.xpack.core.ilm.DownsampleAction.DOWNSAMPLED_INDEX_PREFIX;

/**
* An ILM step that sets the target index to use in the {@link DownsampleStep}.
* The reason why this is done in a seperate step and stored in {@link LifecycleExecutionState},
* is because other steps after downsampling also depend on the target index generated here.
*/
public class DownsamplePrepareLifeCycleStateStep extends ClusterStateActionStep {

private static final Logger LOGGER = LogManager.getLogger(DownsamplePrepareLifeCycleStateStep.class);
Expand Down

0 comments on commit a78c826

Please sign in to comment.