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

Unable to start or create replica set with mongodb 4.4.1 #57

Open
wjarvis-verb opened this issue Dec 28, 2020 · 1 comment
Open

Unable to start or create replica set with mongodb 4.4.1 #57

wjarvis-verb opened this issue Dec 28, 2020 · 1 comment

Comments

@wjarvis-verb
Copy link

Recently I had to brew update && brew upgrade for something, which bumped mongodb-community from 4.2 to 4.4.1. When trying to use run-rs to restart a replica set, I was never able to restart my previous replica set or start a new one (using the command run-rs -k -m -p 27018)

Looking at the source in index.js, I got logs as far as https://github.com/vkarpov15/run-rs/blob/master/index.js#L127, but never made it out of that if block to e.g. https://github.com/vkarpov15/run-rs/blob/master/index.js#L151. Best guess is that the mongodb-topology-manager hasn't been updated since 2019 and something is out of date.

For the time being I was able to resolve this by reverting back to 4.2.

@vorticalbox
Copy link

this is because mongo is no longer (after 4.2) echoing a message to stdout that mongodb-topology-manager requires

'db version v4.1.1\ngit version: 9184a03574c398b087b929fda8ed428f0c64d28c\nallocator: tcmalloc\nmodules: none\nbuild environment:\n distarch: x86_64\n target_arch: x86_64\n'

I think at this point it is probably worth just taking the code from that repo and having it in here so it can be worked.

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

No branches or pull requests

2 participants