Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1187

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 1.1.0
    • Affects Version/s: None
    • Component/s: CRUD
    • Labels:
      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@mongodb.com Divjot Arora (Inactive)
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: