Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtered cluster state still returns stub elements #4885

Closed
clintongormley opened this issue Jan 24, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@clintongormley
Copy link
Member

commented Jan 24, 2014

This request:

GET /_cluster/state/nodes

should only return the nodes element, but it still returns metadata, routing_table etc. They're empty, but still present.

@ghost ghost assigned spinscale Jan 24, 2014

@spinscale

This comment has been minimized.

Copy link
Member

commented Jan 24, 2014

Good catch, the toXContent serialization still checks for the old filter_ parameters.. will fix and add tests

@spinscale

This comment has been minimized.

Copy link
Member

commented Jan 25, 2014

fixed, also added a bunch of yaml tests, maybe you can take a look

@spinscale spinscale closed this in 24abb6c Jan 27, 2014

spinscale added a commit that referenced this issue Jan 27, 2014

Cluster state toXContent serialization only returns needed data
In order to make sure, that only the requested data is returned to the client,
a couple of fixes have been applied in the ClusterState.toXContent() method.
Also some tests were added to the yaml test suite

Closes #4885

spinscale added a commit that referenced this issue Jan 27, 2014

Cluster state toXContent serialization only returns needed data
In order to make sure, that only the requested data is returned to the client,
a couple of fixes have been applied in the ClusterState.toXContent() method.
Also some tests were added to the yaml test suite

Closes #4885

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Cluster state toXContent serialization only returns needed data
In order to make sure, that only the requested data is returned to the client,
a couple of fixes have been applied in the ClusterState.toXContent() method.
Also some tests were added to the yaml test suite

Closes elastic#4885
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.