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

Every query fails with CURSOR_NOT_FOUND

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.1
    • Affects Version/s: 2.0.0
    • Component/s: None
    • Labels:
    • Environment:
      Happens on OSX 10.7.1 and RHEL
    • Major Change

      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.

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

              Created:
              Updated:
              Resolved: