Skip to content

Conversation

@hhamalai
Copy link

Currently multiple index sets are not supported. The returned list of indices (by sort_indices) will contain all indices over different index sets resulting arbitrary indices being archived over all index sets present.

The pull request will change the behaviour so, that the indices are first grouped by index set name, and then sorted by the index number, after which all but max_indices of the newest indices are archived from each index set.

Also changed to use relative imports for easier testing and development.

@hhamalai
Copy link
Author

fixes also #6 given that deflectors are not archieved

@tivrobo
Copy link
Contributor

tivrobo commented Oct 16, 2018

@hhamalai, just see your PR after write own #9 :)
Today I'm faced with problem because .kibana index on my ES, so my PR fixes extra indices and could be used to support multi index setup too.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants