Skip to content

GET _nodes/master:false does not work #28797

@linker-c

Description

@linker-c

Describe the feature:

Elasticsearch version (bin/elasticsearch --version): 6.1.1

Plugins installed: [None]

JVM version (java -version): Not applicable

OS version (uname -a if on a Unix-like system): Not applicable

Description of the problem including expected versus actual behavior:
There is a bug where searching for a node type == false returns nothing.
Master node type is just one example. data:false is also not working.

What I'm trying to do is to discover just the ingest nodes for writing, and only coordinator nodes for reading.
Then I encountered this issue.

Steps to reproduce:

From kibana Dev Tools Console

  1. GET /_nodes/master:true returns the master nodes in my cluster
  2. GET /_nodes/master:false returns no nodes.

Provide logs (if relevant):
GET /_nodes/master:true returns the following 3 nodes
image

GET /_nodes/master:false returns nothing
image

GET /_cat/nodes?v // I have total of 9 nodes in the cluster
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions