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

Prefer mongod 3.2 and improve mongod info caching #123

Merged
merged 2 commits into from
Apr 28, 2017
Merged

Prefer mongod 3.2 and improve mongod info caching #123

merged 2 commits into from
Apr 28, 2017

Conversation

mjs
Copy link

@mjs mjs commented Apr 28, 2017

Previously, MongoDB 2.4 (from juju-mongodb) and the system installed
MongoDB (2.6) were preferred over MongoDB 3.2 (which is actually used
in production).

Cache the MongoDB path alongside the version. Previously there was a
small chance that the cached version would not match the mongod
version. This also avoids unnecessarily looking up the mongod path all
the time.

Menno Smits added 2 commits April 28, 2017 14:25
Previously, MongoDB 2.4 (from juju-mongodb) and the system installed
MongoDB (2.6) were preferred over MongoDB 3.2 (which is actually used
in production).
Cache the MongoDB path alongside the version. Previously there was a
small chance that the cached version would not match the mongod
version. This also avoid unnecessarily looking up the mongod path all
the time.
Copy link
Contributor

@babbageclunk babbageclunk left a comment

Choose a reason for hiding this comment

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

This is much nicer.

@mjs
Copy link
Author

mjs commented Apr 28, 2017

$$merge$$

@jujubot
Copy link
Contributor

jujubot commented Apr 28, 2017

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-testing

@jujubot jujubot merged commit 7d312c4 into juju:master Apr 28, 2017
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.

3 participants