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

Every query fails with CURSOR_NOT_FOUND

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.0.0
    • 1.4.1
    • None
    • Happens on OSX 10.7.1 and RHEL
    • Major Change

    Description

      Setup: simple ReplicaSet, 1 master, 2 secondaries, all of them running on localhost, 27017 to 27019.
      MongoDB version: 2.0, Ruby driver version 1.4.0
      DB connections: ReplSetConnection with safe => true.

      Any query I execute fails on the first record with CURSOR_NOT_FOUND, even when calling #find with a block and passing :timeout => false
      Inspecting the cursor shows this:
      <Mongo::Cursor:0x3ff96ff0f214 namespace='xxxx.yyyy' @selector={:a=>"b"} @cursor_id=>

      The @cursor_id is not being set.

      Attachments

        Activity

          People

            tyler@10gen.com Tyler Brock
            omikronn Gheorghita Catalin Bordianu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: