Closed mrgordon closed 11 years ago
Thanks for the report. I just pushed a fix to that crash.
If it stop running for a few days, whether or not resuming tailing is safe does depend on how much oplog is available. You can tell this via db.getReplicationInfo()
in the mongo shell, or by looking at the local.oplog.rs
collection directly.
Of course, even if you can catch up, if you're far enough behind and you have enough write volume, it might be faster to just reimport regardless.
Thanks for the fix and the info!
On Mar 25, 2013, at 7:20 PM, Nelson Elhage notifications@github.com wrote:
Thanks for the report. I just pushed a fix to that crash.
If it stop running for a few days, whether or not resuming tailing is safe does depend on how much oplog is available. You can tell this via db.getReplicationInfo() in the mongo shell, or by looking at the local.oplog.rs collection directly.
Of course, even if you can catch up, if you're far enough behind and you have enough write volume, it might be faster to just reimport regardless.
— Reply to this email directly or view it on GitHubhttps://github.com/stripe/mosql/issues/17#issuecomment-15437384 .
Saw this while trying to reimport data.
(Side question) Would you expect it to be safe to restart MoSQL if it stops running for a few days or does this generally require a reimport? Is its ability to catch up constrained by whether that many days of oplogs are available?