-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.0.21
-
Component/s: Sharding
-
None
-
ALL
ongo shard, balancer not running, getting below error:
Could not find host matching read preference { mode: "primary" } for set clockwork
Notes
1. When mongo cluster was running with authentication and authorization, I was getting error for second shard.
2. Then I disabled authentication and authorization and restarted entire cluster, I started getting error for first cluster named clockwork.
3. Shard state is retruned true.
I am getting nowhere from last 3 days, kindly help here.