Ignore slaveOk when checking cursor._options

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Michael Grundy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: