News for hackers. Stuff that matters.
Re:Newsblur runs into MongoDB bug – can't replicate DB by base698 on Thursday March 21, 2013 @02:57PM (#5417839)
Why didn't you just take a snapshot of the DB and start that up before adding it as a replica set member? I've had better luck doing that.
Re:Newsblur runs into MongoDB bug – can't replicate DB by conesus on Thursday March 21, 2013 @02:59PM (#5417855)
Because that server isn't in the cloud. It's on leased hardware, so no ability to snapshot. Plus, I like it when I can replicate my data without worry. I don't want to have to rely on block-level replication.
Re:Newsblur runs into MongoDB bug – can't replicate DB by LukeShu on Thursday March 21, 2013 @03:47PM (#5418348)
base698 isn't saying take a snapshot of the server, he's saying take a snapshot of the DB; find the directory it is stored in and `cp` that.
Re:Newsblur runs into MongoDB bug – can't replicate DB by mrkurt on Thursday March 21, 2013 @03:56PM (#5418406)
That's not a good snapshot unless you're running LVM or can afford to suspend writes and fsync + lock.
Re:Newsblur runs into MongoDB bug – can't replicate DB by lwat on Thursday March 21, 2013 @05:45PM (#5419309)
And again, this is yet another problem solved decades ago by RDBMSs.
Re:Newsblur runs into MongoDB bug – can't replicate DB by mrkurt on Thursday March 21, 2013 @06:12PM (#5419544)
And even earlier by Polaroid!