Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ILM] Warn user when shrink action has more shards in warm phase #85443

Open
yuliacech opened this issue Dec 9, 2020 · 2 comments
Open

[ILM] Warn user when shrink action has more shards in warm phase #85443

yuliacech opened this issue Dec 9, 2020 · 2 comments
Labels
enhancement New value added to drive a business result Feature:ILM Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@yuliacech
Copy link
Contributor

yuliacech commented Dec 9, 2020

This PR #84087 will add shrink action to the hot phase of an ILM policy.
Shrink action needs to have a number of shards configured. And it's possible to enable shrink in warm phase too.

If the warm phase is configured with a number of shards larger than the number of shards configured in hot phase, the ILM will fail because it can't shrink the index any further (see screenshot). We need to add a help text or warning to the input fields for shard numbers.

Also, we need to add a help text that number of shards must be a factor of the number of shards of the source index. For example, if the source index has 8 shards, it can only be shrunk to 4, 2 or 1 shard.
https://www.elastic.co/guide/en/elasticsearch/reference/master/ilm-shrink.html

Screenshot Screenshot 2020-11-23 at 17 21 24
@yuliacech yuliacech added enhancement New value added to drive a business result Feature:ILM Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Dec 9, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@alisonelizabeth alisonelizabeth removed the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label Sep 16, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 16, 2024
@alisonelizabeth alisonelizabeth added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label Sep 16, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-management (Team:Kibana Management)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:ILM Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

3 participants