Skip to content

Document ISM rollover any_of grouped conditions and prevent_empty_rollover - #12740

Open
praladhe wants to merge 3 commits into
opensearch-project:mainfrom
praladhe:ism-anyof-rollover-docs
Open

Document ISM rollover any_of grouped conditions and prevent_empty_rollover#12740
praladhe wants to merge 3 commits into
opensearch-project:mainfrom
praladhe:ism-anyof-rollover-docs

Conversation

@praladhe

@praladhe praladhe commented Jul 4, 2026

Copy link
Copy Markdown

Description

Documents the new grouped any_of rollover conditions for the ISM rollover action. any_of accepts a list of condition groups where all conditions within a group must be met (AND) and any satisfied group triggers rollover (OR), enabling OR-of-ANDs policies such as "roll over when (min_index_age ≥ 7d AND min_size ≥ 20gb) OR (min_primary_shard_size ≥ 50gb)". This complements the existing flat conditions, which are combined with a single implicit OR and remain the default.

Specifically, this change:

  • Adds a "Grouped conditions with any_of" section to the ISM rollover action documentation, with syntax, semantics (AND-within-group, OR-across-groups), and an example policy.
  • Notes that any_of and the flat conditions are mutually exclusive, and that existing flat-condition policies are unchanged.
  • Adds a previously-undocumented prevent_empty_rollover parameter row to the rollover action parameters table.

Related feature implementation: opensearch-project/index-management#1540 (PR opensearch-project/index-management#1667).

Issues Resolved

opensearch-project/index-management#1540

Version

3.7

Frontend features

N/A — this is a backend ISM policy configuration change (documentation only); there is no OpenSearch Dashboards UI component.

Checklist

  • By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

praladhe added 2 commits July 3, 2026 15:36
Document the new any_of rollover syntax (OR-of-ANDs: conditions are AND'd within a group and groups are OR'd), introduced in OpenSearch 3.7. Also add the previously undocumented prevent_empty_rollover parameter (available since 3.4).

Signed-off-by: praladhe <praladhe@amazon.com>
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown

Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Merged.

Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer.

When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference).

@kolchfa-aws

Copy link
Copy Markdown
Collaborator

@praladhe Seems like the code PR has not been merged yet so applying the v-TBD label. Please ping the code PR reviewers to review this PR as part of the feature when it's ready. Thanks!

@praladhe

Copy link
Copy Markdown
Author

The code PR has been merged. Kindly review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tech review PR: Tech review in progress v-TBD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants