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

Ability to start MongoDB using --replSet #10

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

Conversation

jdoklovic
Copy link

I needed the ability to start mongo with a replSet. This PR adds the basic ability to do so.

@mindojo-victor
Copy link
Contributor

+1

  File "/home/jenkins/workspace/***", line 161, in ***
    self.save(write_concern={'w': 'majority'})  # w: "majority" implies j: true
  File "/home/jenkins/workspace/***", line 155, in save
    return super(Document, self).save(*args, **kwargs)
  File "/home/jenkins/workspace/***/venv/local/lib/python2.7/site-packages/mongoengine/document.py", line 294, in save
    raise OperationError(message % unicode(err))
OperationError: Could not save document (norepl)
ERROR

@mindojo-victor
Copy link
Contributor

Although I upgraded to 3.0.9 from 2.4.9 and it 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

Successfully merging this pull request may close these issues.

2 participants