> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.
>
:) Obviously, no one uses localhost for production - my main worry here was the little control I felt had over the replication process once it got going - and the inability to change it in certain scenarios. In MySQL there are ways to analyze a broken replication, and repair it - and I was trying to find the same thing in MongoDB.And yes, using local has 'hack' written on it, I agree :)
--
You could always dump the local DB collections and restore them elsewhere with different names.
There is a way to manually reconfigure without deleting local (restart a slave w/out --replSet, do whatever you want to the config doc, increment the version number, and restart with --replSet), but you can totally mess up your config so you should generally avoid that. This has come up before, so I made a bug to make this easier to reconfigure: https://jira.mongodb.org/browse/SERVER-2772. A lot of people seem get wedged in a situation with all slaves when they're figuring out how replica sets work.
Remember that you can always start up a member of a set as a normal, non-replica set server by dropping the --replSet option (and changing the port # so the rest of the set doesn't recognize it).
Thanks for the bug report! That was swift :)
So if I understand it correctly, a mongod instance would just ignore the "local" database when it's used without --replSet?