OpLog can use replica sets #49

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

yegeniy commented Feb 28, 2012

Still defaults to 'oplog.$main' for the OpLog collection name, but can be 'oplog.rs' if masterSlaveReplication is false
See docs at http://www.mongodb.org/display/DOCS/Replication+Oplog+Length

cc/ @dvingo, @yegeniy, @matthewfitz

@yegeniy yegeniy OpLog can use replica sets
Still defaults to 'oplog.$main' for the OpLog collection name, but can be 'oplog.rs' if masterSlaveReplication is false
See docs at http://www.mongodb.org/display/DOCS/Replication+Oplog+Length

@author @dvingo, @yegeniy
2e36150

@rozza rozza added a commit to rozza/casbah that referenced this pull request Dec 17, 2012

@rozza rozza MongoOpLog updates
Uses new MongoClient and defaults to replciaSet oplog database
Based on mongodb/casbah#49
c08b275
Member

rozza commented Dec 17, 2012

Thanks for the code - this will be in 2.5.0 - slightly different than the example - defaulting to be replicaSets

rozza closed this Dec 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment