my current luster configuration settings look like this :
{
"persistent": {
"indices": {
"store": {
"throttle": {
"type": "none",
"max_bytes_per_sec": "150mb"
}
}
}
},
"transient": {}
}
and am wondering how can i delete the "max_bytes_per_sec" part of the settings.
could you please advise on this one ?
Resetting persistent or transient settings can be done by assigning a null value.
Refer: https://www.elastic.co/guide/en/elasticsearch/reference/5.5/cluster-update-settings.html
in your case it would be
PUT /_cluster/settings
{
"persistent" : {
"indices.store.throttle.max_bytes_per_sec" : null
}
}
alright. i found how to delete a persistent setting:
you go to the defined data path of the master node,
more specifically, nodes/0/_state
(in my case)
and you delete the global state file. then restart elasticsearch.
Per documentation this is now (Elasticsearch 5.5) possible via the following:
Resetting persistent or transient settings can be done by assigning a null value.
See https://www.elastic.co/guide/en/elasticsearch/reference/5.5/cluster-update-settings.html
Here is the example from ES documentation:
PUT /_cluster/settings {
"persistent" : {
"indices.store.throttle.max_bytes_per_sec" : "100mb"
} }
and
PUT /_cluster/settings {
"transient" : {
"indices.store.throttle.type" : "none"
} }