need to remove ARBITER when other members are in state RECOVERING and STARTUP2?

254 views
Skip to first unread message

Daniel

unread,
Sep 17, 2012, 10:01:34 AM9/17/12
to mongod...@googlegroups.com
Hi,

i have a set where i have added a new member which is in state STARTUP2. The other members are a PRIMARY, an ARBITER and a member in state RECOVERING. Do I need to remove the ARBITER to have an unequal number of members or do i need to wait until both other members are in state SECONDARY?

Thanks. Daniel

Scott Hernandez

unread,
Sep 17, 2012, 5:53:54 PM9/17/12
to mongod...@googlegroups.com
What does rs.status() and rs.conf() look like?
> --
> 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
> See also the IRC channel -- freenode.net#mongodb

Daniel

unread,
Sep 18, 2012, 1:25:12 AM9/18/12
to mongod...@googlegroups.com
Hi,

they looked normally and showed the status as described above. I was just wondering if
members, which are not in a ready state (PRIMARY or SECONDARY) can take part in
an election. Then it would be wise to remove the ARBITER i guess.

Thanks. Daniel

Luciano Issoe

unread,
Sep 18, 2012, 8:15:14 AM9/18/12
to mongod...@googlegroups.com, mongod...@googlegroups.com
There's too much happening at the same time. MongoDB may not be ready to handle all of it.

You added a fresh node while one was recovering.

The arbiter is not a concern until you need an election and 3 out of 4 possible votes. I say remove it after everything is OK or if you find yourself in a situation where you don't reach a majority of votes. 


Good luck with your recovery!

Regards,

Luciano


Sent from my handheld device

Scott Hernandez

unread,
Sep 22, 2012, 8:55:49 AM9/22/12
to mongod...@googlegroups.com
Yes they can, but it depends on the state they are in. For example,
during the startup state they are becoming aware of the replica set
(and loading the config) so they can not yet get involved in voting.
Reply all
Reply to author
Forward
0 new messages