I'm running MoSQL as:
mosql -c collections.yml --sql postgres://user:passwd@localhost:5432/db --mongo mongodb://dbUser:passwd@node1,node2,node3/dbname?replicaSet=rs0 --only-db dbname
It works fine but as soon as the Primary node of the relpSet goes down, Mosql is killed.
Is there anyway to keep it running with the newly elected Primary node without MoSQL getting stopped?