Commands shouldn't set slaveOk flag for readPreference=PRIMARY

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.0-rc1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding B (10/30/15)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently it sets it any time readPreference is supplied: https://github.com/mongodb/mongo/blob/r3.1.1/src/mongo/db/dbcommands.cpp#L1609-L1613

              Assignee:
              Misha Tyulenev (Inactive)
              Reporter:
              Mathias Stearn
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: