Skip to content

[7.x] ILM: add force-merge step to searchable snapshots action (#60819)#60882

Merged
andreidan merged 3 commits intoelastic:7.xfrom
andreidan:backport/7x-searchable-snapshot-force-merge-index
Aug 10, 2020
Merged

[7.x] ILM: add force-merge step to searchable snapshots action (#60819)#60882
andreidan merged 3 commits intoelastic:7.xfrom
andreidan:backport/7x-searchable-snapshot-force-merge-index

Conversation

@andreidan
Copy link
Copy Markdown
Contributor

This adds a force-merge step to the searchable snapshot action, enabled by default,
but parameterizable using the `force_merge-index" optional boolean.

eg.

PUT _ilm/policy/my_policy
{
  "policy": {
    "phases": {
      "cold": {
        "actions": {
          "searchable_snapshot" : {
            "snapshot_repository" : "backing_repo",
            "force_merge_index": true
          }
        }
      }
    }
  }
}

Backport of #60819

This adds a force-merge step to the searchable snapshot action, enabled by default,
but parameterizable using the `force_merge-index" optional boolean.

eg.
```
PUT _ilm/policy/my_policy
{
  "policy": {
    "phases": {
      "cold": {
        "actions": {
          "searchable_snapshot" : {
            "snapshot_repository" : "backing_repo",
            "force_merge_index": true
          }
        }
      }
    }
  }
}
```

(cherry picked from commit d0a17b2)
Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
@andreidan andreidan added :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. backport v7.10.0 labels Aug 10, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features (:Core/Features/ILM+SLM)

@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Aug 10, 2020
@andreidan andreidan merged commit 235e5ed into elastic:7.x Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v7.10.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants