ISM policy rollover multiple criteria OR or AND

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Opensearch 2.10

Describe the issue:

In ISM policy, for Rollover action, if I specify multiple rollover criteria, are those criteria OR or AND together?

Example:

        "actions": [
          {
            "rollover": {
              "min_index_age": "7d",
              "min_primary_shard_size": "30gb"
            }
          }
        ],

In the above example does that mean the rollover will happen when:

a) The min_index_age is 7d AND the min_primary_shard_size is 30gb (i.e. both need to occur to rollover), or

b) The min_index_age is 7d OR the min_primary_shard_size is 30gb (i.e. only one needs to occur, whichever comes first, to rollover)

This is not explicitly clear in the the documentation.

@thomas708 Last time when I checked in my lab 2.17 it was OR.

Thank you @pablo

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.