-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Core/Infra/SettingsSettings infrastructure and APIsSettings infrastructure and APIs>bughelp wantedadoptmeadoptme
Description
When trying to remove a cluster from my cross-cluster search list, I kept failing to remove the cluster by using the documented approach:
PUT /_cluster/settings
{
"persistent": {
"search.remote.local_cluster.seeds": null
}
}even though it claims to successfully use the settings:
{
"acknowledged": true,
"persistent": {},
"transient": {}
}However, to actually remove the seeds (and therefore the remote cluster), you need to wrap the null in [] brackets.
PUT /_cluster/settings
{
"persistent": {
"search": {
"remote": {
"my_cluster": {
"seeds": ["127.0.0.1:9300"]
}
}
}
}
}
PUT /_cluster/settings
{
"persistent": {
"search.remote.my_cluster.seeds": [ null ]
}
}For what it's worth, simply passing [] does not work.
bhvk0
Metadata
Metadata
Assignees
Labels
:Core/Infra/SettingsSettings infrastructure and APIsSettings infrastructure and APIs>bughelp wantedadoptmeadoptme