Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1020

Secondary reads directed to hidden members

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.0-rc0, 1.2.2
    • Affects Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      See DRIVERS-267: the C Driver doesn't check the "hidden" field so a hidden secondary is considered a normal secondary available for reads.

      This bug manifests rarely: the hidden node must be in the seed list, and the application must be reading with a non-primary read preference while no primary is available. (If the hidden node is not in the seed list it is never discovered. If it is in the seed list but a primary is available, the driver trusts the primary's host list, which omits the hidden member.)

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: