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

Fetch cluster stats, simplify n_mnodes calculation. #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abokth
Copy link

@abokth abokth commented Aug 11, 2015

This adds fetching of _cluster/stats, then calculates n_mnodes as the sum of master_only and master_data node counts. Would it be correct to do it this way?

Add fetch of cluster 'stats'.

Calculate n_mnodes as sum of master_only and master_data node counts.
@olorin
Copy link
Contributor

olorin commented Aug 16, 2015

That looks okay to me; only concern would be compatibility with old versions of the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants