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

No Cursor Found error using noCursorTimeout and secondaryPreferred read preference

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Rails 5.1.5
      Mongoid gem 6.3
      Ruby 2.3.0
      CentOS Linux release 7.4.1708 (Core)
      MongoDB 3.6

      Description

      Running into `Mongo::Error::OperationFailure: cursor id 302479371095 not found (43)`

      tried `.no_timout` and `.batch_size()` with different numbers, same thing.
      Not much info online...

      This is pretty urgent.
      Please help.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              emily.stolfo Emily Stolfo
              Reporter:
              amotinga Andrei Motinga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: