I am using mongorestore, and having this setup:
there shards (1 primary and 2 secondary each)
Inserting data from mongos, using mongorestore, steps:
- One of my primary node get halt and other secondary got promoted to Primary in shard3
- Restore should auto detect new-primary and keep on inserting right?
- mongorestore got failed saying no master found.
I am getting new Primary and it is up for shard 3, failover worked well, but mongorestore unable to detect new primary.
Please ecplain the reson or we can do anything for this situation?