Every query fails with CURSOR_NOT_FOUND

XMLWordPrintableJSON

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

      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 Brock (Inactive)
              Reporter:
              Gheorghita Catalin Bordianu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: