Sharding: Could not find host matching read preference { mode: "primary" } for set clockwork

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.0.21
    • Component/s: Sharding
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Eric Sedor
            Reporter:
            monika yadav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: