Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1312

noCursorTimeout regression from 2.4.3 to 2.5.1

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.5.1
    • Component/s: None
    • None
    • Environment:
      Ubuntu Linux 16.04, MongoDB 3.6.3

      Updating the mongo driver from 2.4.3 to 2.5.1 seems to broke the noCursorTimeout option.
      I use Mongoid with a Model.no_timeout.each

      {|m| very_long_task(m)}

      , the noCursorTimeout is passed along with the options but after 10 minutes i receive a "cursor not found" exception.
      Downgrading the mongo driver to 2.4.3 solves the issue.

      Tested and confirmed on two different machines (one standalone and one replica set).

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            alberto.ornaghi@gmail.com Alberto Ornaghi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: