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

SlaveOk won't work after slave had a network exception

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.2.4
    • Sharding
    • None
    • Linux
    • ALL

    Description

      If network exception occurs when mongos read response from secondary, Mongos will call function <isntSecondary> . Mongos will perhaps choose PRIMARY for query, and this decision will be keeped in this woker thread's lifetime, SlaveOk won't work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hustchensi chensi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: