Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-20198

Ignore slaveOk when checking cursor._options

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.8
    • Affects Version/s: 3.1.7
    • Component/s: JavaScript
    • None
    • Fully Compatible
    • ALL
    • RPL 9 (09/18/15)

      Running crud_api.js against a replica set passthrough fails because asserts against cursor options are using a value that doesn't include slaveOK.

      Example:

      var cursor = coll.find({}).sort({a:1}).tailable();
      assert.eq(34, cursor._options);
      

            Assignee:
            michael.grundy Michael Grundy
            Reporter:
            michael.grundy Michael Grundy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: