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] Force merge and readonly not configurable in hot phase #87208

Closed
alisonelizabeth opened this issue Jan 4, 2021 · 1 comment · Fixed by #87213
Closed

[ILM] Force merge and readonly not configurable in hot phase #87208

alisonelizabeth opened this issue Jan 4, 2021 · 1 comment · Fixed by #87213
Labels
bug Fixes for quality problems that affect the customer experience Feature:ILM Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@alisonelizabeth
Copy link
Contributor

alisonelizabeth commented Jan 4, 2021

Kibana version:
7.11

Describe the bug:
Enabling the "readonly" action in the hot phase of an ILM policy has no effect. The same issue applies to enabling the "Compressed stored fields" toggle for the force merge action.

Appears to be a regression introduced via #85579.

Steps to reproduce:

  1. Create a ILM policy.
  2. Enable the "readonly" action in the hot phase. Save the policy.
  3. Reopen the policy and note that the readonly action is not enabled.
  4. Enable the "force merge" action. Specify number of segments and enable the "Compressed stored fields" toggle. Save the policy.
  5. Reopen the policy and note that the "Compressed stored fields" toggle is not enabled.

Screenshots (if relevant):
Note the JSON preview is not representative of what is enabled in the form.

Screen Shot 2021-01-04 at 2 02 55 PM

I would expect the following:

PUT _ilm/policy/test_policy
{
  "policy": {
    "phases": {
      "hot": {
        "min_age": "0ms",
        "actions": {
          "rollover": {
            "max_size": "50gb",
            "max_age": "30d"
          },
          "set_priority": {
            "priority": 100
          },
          "forcemerge": {
            "max_num_segments": 4,
            "index_codec": "best_compression"
          },
          "readonly": {}
        }
      }
    }
  }
}
@alisonelizabeth alisonelizabeth added bug Fixes for quality problems that affect the customer experience Feature:ILM Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Jan 4, 2021
@elasticmachine
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:ILM Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants