Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Modifying indices compression or static settings during lifecycle #407

Open
Noctisae opened this issue Feb 23, 2021 · 1 comment
Open

Modifying indices compression or static settings during lifecycle #407

Noctisae opened this issue Feb 23, 2021 · 1 comment
Labels
enhancement An improvement on the existing feature’s functionalities

Comments

@Noctisae
Copy link

Hello,

I'm currently using OpenDistro ISM 1.11.0 on my projects and I have a use case in which I would like to change my indices compression settings during their lifetime to optimize storage for my old indexes.

The case being that I need my "hot" and "warm" indices to stay at default compression for best performances while my "cold" indices should be changed into a "best_compression", to reduce their footprints on my system.

From what I understand from the Elasticsearch docs, for changing this setting on a live index (as it is considered a static index settings), the index must be closed, and after changing the settings for my specific case of changing compression, the new compression is applied in the next segments merge done on the index by Elasticsearch. OpenDistro-For-Elasticsearch Index Management already implements all the actions needed for this workflow (close, open, force_merge), except for the action by which we could change the index settings automatically.

Index Management even seems to already support some index settings modifications like with the index_priority action, but with dynamic index settings.

Is there any plans on the roadmap for implementing new actions to permit index static settings configurations ? Like a specific action "index_compression" using the other actions (close, change settings, open, force_merge), or a generic action "index_static_settings_change" by which someone could implement automatic settings configuration during an index lifecycle.

@Noctisae Noctisae added the enhancement An improvement on the existing feature’s functionalities label Feb 23, 2021
@dbbaughe
Copy link
Contributor

Hi @Noctisae,

"Is there any plans on the roadmap for implementing new actions to permit index static settings configurations ?"
-> We add things to the road map as requests come in for them and if they are a good fit for ISM. That being said we always accept PR contributions, so if you're feeling up to the task we could help you implement it too. Otherwise we'll track this request in our roadmap and see when we can get to it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement An improvement on the existing feature’s functionalities
Projects
None yet
Development

No branches or pull requests

2 participants