Module org.elasticsearch.xcore
Package org.elasticsearch.xpack.core.ilm
Class CheckNotDataStreamWriteIndexStep
java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
org.elasticsearch.xpack.core.ilm.ClusterStateWaitStep
org.elasticsearch.xpack.core.ilm.CheckNotDataStreamWriteIndexStep
Some actions cannot be executed on a data stream's write index (eg. `searchable-snapshot`). This step checks if the managed index is
part of a data stream, in which case it will check it's not the write index. If the managed index is the write index of a data stream
this step will wait until that's not the case (ie. rolling over the data stream will create a new index as the data stream's write
index and this step will be able to complete)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.ClusterStateWaitStep
ClusterStateWaitStep.ResultNested classes/interfaces inherited from class org.elasticsearch.xpack.core.ilm.Step
Step.StepKey -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionisConditionMet(Index index, ProjectState currentState) booleanIndicates if the step can be automatically retried when it encounters an execution error.Methods inherited from class org.elasticsearch.xpack.core.ilm.ClusterStateWaitStep
isCompletableMethods inherited from class org.elasticsearch.xpack.core.ilm.Step
equals, getCurrentStepKey, getKey, getNextStepKey, hashCode, toString
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
isRetryable
public boolean isRetryable()Description copied from class:StepIndicates if the step can be automatically retried when it encounters an execution error.- Specified by:
isRetryablein classStep
-
isConditionMet
- Specified by:
isConditionMetin classClusterStateWaitStep
-