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

Mongo::Collection::View#no_cursor_timeout regression

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.16.3, 2.17.2
    • Affects Version/s: 2.16.0
    • Component/s: None
    • None
    • Fully Compatible

      "Mongo::Collection::View#no_cursor_timeout" stopped working at commit 2d9f0217ec904a1952a1ada2136502eefbca562e :

      https://github.com/mongodb/mongo-ruby-driver/commit/2d9f0217ec904a1952a1ada2136502eefbca562e

      I offer a spec as proof that it is no longer working :

      https://github.com/mongodb/mongo-ruby-driver/pull/2557

      The spec is green at commit aab776ebdfb15ddb9765039f7300e15796de0c5c (last working commit) :

      https://github.com/mongodb/mongo-ruby-driver/commit/aab776ebdfb15ddb9765039f7300e15796de0c5c

      I am myself working with MongoDB 4.4 and Ruby 2.6.10.

      The bug also renders Mongoid's `.no_timeout` ineffective (does nothing).

      Do not hesitate to ask me questions if something is unclear. 😄

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            sylvain-8422 Sylvain Bernier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: