Skip to content

No error shown on non-existing cluster setting #6309

@RobinUS2

Description

@RobinUS2

For example setting the default number of shards. This throws no exception, even though it is not supported.

CURL Apply change:
curl -XPUT localhost:9200/_cluster/settings -d '{ "persistent" : { "index.number_of_shards" : 2 } }'

Change Response
{"acknowledged":true,"persistent":{},"transient":{}}

CURL List settings
curl -XGET localhost:9200/_cluster/settings

Settings Response
{"persistent":{},"transient":{}}

Mailing list topic: https://groups.google.com/forum/#!topic/elasticsearch/uOXvRid-VoA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions