Skip to content

Discrepancy between transient, persistent and default values #5

@jeromepin

Description

@jeromepin

The value returned might sometimes be the default one while there is one defined in either persistent or transient :

(esctl foobar) cluster routing allocation enable all
Changing cluster routing allocation policy (cluster.routing.allocation.enable) to : all
{'acknowledged': True, 'persistent': {}, 'transient': {'cluster': {'routing': {'allocation': {'enable': 'all'}}}}}
(esctl foobar) cluster routing allocation enable --persistent none
Changing cluster routing allocation policy (cluster.routing.allocation.enable) to : none
{'acknowledged': True, 'persistent': {'cluster': {'routing': {'allocation': {'enable': 'none'}}}}, 'transient': {}}
(esctl foobar) cluster routing allocation enable
all
(esctl foobar) cluster routing allocation enable --persistent
none

cluster routing allocation enable without parameter should return none but returns the default one : all

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions