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

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

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

      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 Unassigned
            Reporter:
            jenna Jenna deBoisblanc
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: