Skip to content

Commit 5dd9b21

Browse files
Allow forcemerge in the hot phase for ILM policies (#4598) (#4624)
Co-authored-by: Stuart Cam <stuart.cam@elastic.co>
1 parent cdfcb68 commit 5dd9b21

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Nest/XPack/Ilm/Actions/ForceMergeAction.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ namespace Nest
66
/// The Force Merge Action force merges the index into at most a specific number of segments.
77
/// </summary>
88
/// <remarks>
9-
/// Phases allowed: warm.
9+
/// Phases allowed: hot, warm.
10+
///
11+
/// NOTE: If the action is used in the `hot` phase, the `rollover` action *must* be present.
12+
/// ILM validates this predicate and will refuse a policy with a forcemerge in the hot phase without a rollover action.
1013
/// </remarks>
1114
public interface IForceMergeLifecycleAction : ILifecycleAction
1215
{

0 commit comments

Comments
 (0)