Uploaded image for project: 'Perl Driver'
  1. Perl Driver
  2. PERL-386

Cursor timeout after 100 fetches

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.704.1.0
    • Fix Version/s: None
    • Component/s: Perl driver
    • Labels:
      None
    • Environment:
      ubuntu 14.04

      Description

      Perl 5.18.2
      Cursor.pm version 0.704.1.0

      perform a query that retrieves 451 small records from the db

      $cursor = $collection->find($match_href);
      say $cursor->count; # 451
      while (my $href = $cursor->next) {

      1. do stuff
        say "record: ". $count++;
        }

      output:
      ...
      record: 100
      can't get db response, not connected at "script details"

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: