Skip to content

Ability to start MongoDB using --replSet#10

Open
jdoklovic wants to merge 1 commit intotheorm:masterfrom
atlassian:master
Open

Ability to start MongoDB using --replSet#10
jdoklovic wants to merge 1 commit intotheorm:masterfrom
atlassian:master

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