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

high disk watermark more than flood stage disk watermark #8

Open
missinglink opened this issue Nov 4, 2019 · 4 comments
Open

high disk watermark more than flood stage disk watermark #8

missinglink opened this issue Nov 4, 2019 · 4 comments

Comments

@missinglink
Copy link
Member

saw this in the ES6 logs:

java.lang.IllegalArgumentException: high disk watermark [99%] more than flood stage disk watermark [95%]
@orangejulius
Copy link
Member

Ugh ok. I guess this repo will have to handle setting the flood stage disk watermark as well, and instruct people to ensure the two values are set appropriately.

@missinglink
Copy link
Member Author

missinglink commented Nov 4, 2019

Are those settings not currently coming from this repo?

@orangejulius
Copy link
Member

They are configurable, so any terraform project using this repository can set them.

@missinglink
Copy link
Member Author

missinglink commented Nov 6, 2019

I had a look into this and unfortunately, the flood_stage watermark isn't the same as the other watermark settings (high/low) in that it's not dynamically updatable, so presumably it needs to be set in elasticsearch.yml instead of updated via a curl request ☹️

curl -XPUT \
  -H 'Content-Type: application/json' \
  -d '
{
  "persistent": {
    "cluster.routing.allocation.disk.watermark.flood_stage": "50%"
  }
}' \
'localhost:9200/_cluster/settings?pretty=true'
{
  "error" : {
    "root_cause" : [
      {
        "type" : "illegal_argument_exception",
        "reason" : "persistent setting [cluster.routing.allocation.disk.watermark.flood_stage], not dynamically updateable"
      }
    ],
    "type" : "illegal_argument_exception",
    "reason" : "persistent setting [cluster.routing.allocation.disk.watermark.flood_stage], not dynamically updateable"
  },
  "status" : 400
}

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

No branches or pull requests

2 participants