Primary moving frequently to another replica

21 views
Skip to first unread message

woaksie

unread,
Jan 7, 2013, 1:26:21 PM1/7/13
to mongodb-user, sri...@10gen.com

We have a 3 replica set Mongo database running in Windows Azure. It
has been running for over a year. We had an application issue which
caused a large amount if insertions (for us) for about 2 weeks. During
this time the primary database in the replica set changed quite a few
times. We fixed the application issue last Friday and the primary
database as not moved since.

None of the databases went down though. Looking at MMS which we have
running it says that all three databases have been "Up Since" November
[we did some maintainance then]

This is a snap shot from about mid December to now. We are running
mongo db version 2.1.0 on 3 Medium Azure Worker Roles.

http://i46.tinypic.com/29motav.jpg

So what was causing the primary to swap so often? Is this going to
be a problem when our normal usage increases.

David Hows

unread,
Mar 1, 2013, 1:30:13 AM3/1/13
to mongod...@googlegroups.com, sri...@10gen.com
Hi Woaksie,

You should be able to find the reasons for the failover within the logs of your node.

If your having trouble finding the point in the log, can you attach them here and I will help you.

Cheers,
David

Asya Kamsky

unread,
Mar 1, 2013, 4:01:26 AM3/1/13
to mongod...@googlegroups.com, sri...@10gen.com
Oh dear, I hope that's a typo in your message where you say you are
running MongoDB version 2.1.0.    That was the first release of
unstable non-production/dev-only version of 2.2 branch.   Please
confirm that currently you are running some version that starts
with 2.2.x?

If you really are/were running 2.1.0 there were some well known
"problems" in it, some of which would cause worse issues than
what you mention, so I think you probably just mistyped.

Asya
Reply all
Reply to author
Forward
0 new messages