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

Fix missing return and Mongo3 support for index_miss_ratio option #162

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

Conversation

olivierHa
Copy link

Hello,

In Mongo3, the server status output no longer includes the workingSet, indexCounters, and recordStats sections.

So the index_miss_ratio function is broken.

See : http://docs.mongodb.org/manual/reference/command/serverStatus/#output

This patch disable this action when using mongo3 (similar to the lock action) and fix the return code.

Olivier

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.

1 participant