noCursorTimeout regression from 2.4.3 to 2.5.1

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Alberto Ornaghi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: