Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-53522

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 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.

            Assignee:
            eric.sedor@mongodb.com Eric Sedor
            Reporter:
            monika.1234yadav@gmail.com monika yadav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: