Skip to content

Commit

Permalink
[Failure store] Reconciliate failure indices during snapshotting (#11…
Browse files Browse the repository at this point in the history
…8834)

In this PR we reconciliate the failure indices of a data stream just
like we do for the backing indices. The only difference is that a data
stream can have an empty list of failure indices, while it cannot have
an empty list of backing indices.

An easy way to create a situation where certain backing or failure
indices are not included in a snapshot is via using exclusions in the
multi-target expression of the snapshot. For example:

```
PUT /_snapshot/my_repository/my-snapshot?wait_for_completion=true
{
  "indices": "my-ds*", "-.fs-my-ds-000001"
}
```
  • Loading branch information
gmarouli authored Dec 19, 2024
1 parent 1cf5b03 commit 4efeca8
Show file tree
Hide file tree
Showing 4 changed files with 224 additions and 180 deletions.
Loading

0 comments on commit 4efeca8

Please sign in to comment.