Mongo shard, balancer not running, getting below error:
Could not find host matching read preference { mode: “primary” } for set clockwork
Notes
- When mongo cluster was running with authentication and authorization, I was getting error for second shard.
- Then I disabled authentication and authorization and restarted entire cluster, I started getting error for first cluster named clockwork.
- Shard state is retruned true.
I am getting nowhere from last 3 days, kindly help here.