I am exploring the replication functionality in MongoDB, just wanted to
clarify a scenario.
I have a java program which is inserting values in the db constantly in a
three instance replica set, now if i do rs.stepDown() on the primary the
java program waits for a couple of seconds for the elections and then
continues inserting but if i know do the rs.stepDown() on the new primary,
my program just throws and exception and exits.
For the first primary it works after the election by itself whereas in case
of the second primary stepping down it throws and exception. Could someone
please explain why is it doing that whereas i thought it would continue
even in case of the second step down.
You received this message because you are subscribed to the Google Groups "mongodb-user"