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

Ignore slaveOk when checking cursor._options

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.1.7
    • Fix Version/s: 3.1.8
    • Component/s: JavaScript
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Epic Link:
    • Sprint:
      RPL 9 (09/18/15)

      Description

      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);
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: