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(inputs.mongodb): update version check for newer versions #11635

Merged
merged 2 commits into from
Aug 8, 2022

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Aug 8, 2022

The current version check for the newer "connPoolStats" command was
hard-coded for only version 5. With version 6 out, it needs to be
version 5 or newer.

This also sets the integration tests to actually use testcontainers and
not get skipped.

fixes: #11633

powersj added 2 commits August 8, 2022 08:05
The current version check for the newer "connPoolStats" command was
hard-coded for only version 5. With version 6 out, it needs to be
version 5 or newer.

This also sets the integration tests to actually use testcontainers and
not get skipped.

fixes: influxdata#11633
@telegraf-tiger telegraf-tiger bot added area/mongodb fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Aug 8, 2022
Copy link
Contributor

@MyaLongmire MyaLongmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix!

@powersj powersj merged commit 75e8640 into influxdata:master Aug 8, 2022
@powersj powersj deleted the fix/11633 branch August 8, 2022 15:37
reimda pushed a commit that referenced this pull request Aug 15, 2022
reimda pushed a commit that referenced this pull request Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/mongodb fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mongodb stats error (CommandNotFound) no such command: 'shardConnPoolStats'
2 participants