mongos should be able to read from secondaries when there is no master

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Client
    • None
    • Environment:
      2.2.0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      2 node replica set in shard s2. Take down the primary so there's no longer a majority. It's possible to connect to the remaining node and do slaveOk() reads. It is not possible, however, to read from the secondary using mongos, even when you set read preference to "secondary":

      mongos> db.nov1.find().readPref("secondary")
      error: {
         "$err" : "socket exception [CONNECT_ERROR] for s2/localhost:47017,localhost:47018",
         "code" : 11002
      }
      

      This is related, but think overall a different issue than the startup problem.

              Assignee:
              Unassigned
              Reporter:
              Jenna deBoisblanc (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: