Find() uses a write selector instead of a read selector

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Blocker - P1
    • 1.1.0
    • Affects Version/s: None
    • Component/s: CRUD
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the master branch, the Find() command uses selector := makePinnedSelector(sess, coll.writeSelector) but it should use a read selector as the default to makePinnedSelector.

      This bug blocks mongotools 4.2 support, as it breaks read preference support in tools.

              Assignee:
              Divjot Arora (Inactive)
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: