findOne overload that takes only the value of the _id field does not apply read preference to mongos properly

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.12.4, 2.13.0
    • Affects Version/s: None
    • Component/s: Query Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      DBCollection.findOne has an overload that takes just the value of the _id field and turns it into a regular query. But the code path that it takes does not apply the read preference properly when connected to a mongos.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: