Class UnfollowAction

java.lang.Object
org.elasticsearch.xpack.core.ilm.UnfollowAction
All Implemented Interfaces:
NamedWriteable, Writeable, ToXContent, ToXContentObject, LifecycleAction

public final class UnfollowAction extends Object implements LifecycleAction
Converts a CCR following index into a normal, standalone index, once the index is ready to be safely separated.

"Readiness" is composed of two conditions: 1) The index must have LifecycleSettings.LIFECYCLE_INDEXING_COMPLETE set to true, which is done automatically by RolloverAction (or manually). 2) The index must be up to date with the leader, defined as the follower checkpoint being equal to the global checkpoint for all shards.