justanyone
unread,May 23, 2012, 2:38:29 PM5/23/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
Hello! Question about broken replication that is then fixed:
We have 2 datacenters. Our (sharded) data is replicated across them.
If we have a broken data center link, I want both databases (the
primary and the secondary) to remain writable - they would both think
that they are primary, so I can write. to both. This is fine in our
schema; inserts and updates are operating on disparate records/
documents.
But, what happens when the data link between the data centers
returns? Mongo should sync up again and declare one of them the
primary and we continue as normal.
Is this possible in a sort-of-normal deployment, or do I have to
custom script something?
Thanks in advance,
-- Kevin Rice