Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Announcement
not yet plan to make a big announcement about it. In actions that search through indices, you
can now specify a
search_pattern
to limit the number of indices that will be filtered. Ifno search pattern is specified, the behavior will be the same as it ever was: it will search
through
_all
indices. The actions that support this option are: allocation, close,cold2frozen, delete_indices, forcemerge, index_settings, open, replicas, shrink, and snapshot.
Bugfix
action completing properly.
Changes
es_client==8.13.0
es_client
comes a necessary change to calls to create arepository. In Expand snapshot repository types elasticsearch-specification#2255 it became
clear that using
type
andsettings
as it has been was insufficient for repositorysettings, so we go back to using a request
body
as in older times. This change affectsesrepomgr
in one place, and otherwise only in snapshot/restore testing.driver for this is that it avoids pulling in the full mapping and index settings when all we
really need to return is a list of index names. This should help keep memory from ballooning
quite as much. The function also now allows for a search_pattern kwarg to search only for
indices matching a pattern. This will also potentially make the initial index return list much
smaller, and the list of indices needing to be filtered that much smaller.
get_indices
work everywhere.search_pattern
did not break anything, and doesbehave as expected.