-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Description
Describe the bug
Unable to set "cluster.routing.allocation.balanced_shards_allocator.allocator_timeout" setting in 2.13, while the same works in 2.15.
Related component
Other
To Reproduce
- Clone openserch
- checkout to 2.13
- Try to add this setting curl --location --request PUT 'http://localhost:9200/_cluster/settings' \ --header 'Content-Type: application/json' \ --data '{ "persistent" : { "cluster.routing.allocation.balanced_shards_allocator.allocator_timeout" : "30s" } }'
- Fails with {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"persistent setting [cluster.routing.allocation.balanced_shards_allocator.allocator_timeout], not recognized"}],"type":"illegal_argument_exception","reason":"persistent setting [cluster.routing.allocation.balanced_shards_allocator.allocator_timeout], not recognized"},"status":400}%
Expected behavior
The same works in 2.15
bcd07443cc66 % curl --location --request PUT 'http://localhost:9200/_cluster/settings' \
--header 'Content-Type: application/json' \
--data '{
"persistent" : {
"cluster.routing.allocation.balanced_shards_allocator.allocator_timeout" : "30s"
}
}'
{"acknowledged":true,"persistent":{"cluster":{"routing":{"allocation":{"balanced_shards_allocator":{"allocator_timeout":"30s"}}}}},"transient":{}}%
Additional Details
Plugins
No plugin is enabled
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
- OS: macos
- Version 2.13
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done