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

Ignore slaveOk when checking cursor._options

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.1.7
    • 3.1.8
    • JavaScript
    • None
    • Fully Compatible
    • ALL
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: