Skip to content

MongoDB\Driver\Exception\RuntimeException: cursor id not found #825

Closed
@Algatux

Description

@Algatux

Description

We are experiencing some issues with cursors on long-running tasks receiving this error:
MongoDB\Driver\Exception\RuntimeException: cursor id 115794413245 not found

We are iterating over a set of about 2M+ documents, and already tried to set noCursorTimeout to true and batchSize to smaller amounts like 1k

We encountered this issue updating the extension from version 1.3.4 to 1.4.2+ never tried 1.4.0.

Environment

Ubuntu Server 16.04
PHP 7.2.4-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Apr 5 2018 08:53:57) ( NTS )
Zend OPcache v7.2.4-1+ubuntu16.04.1+deb.sury.org+1
MongoDb extension versions 1.4.2 from ubuntu's ppa and 1.4.3 compiled with pecl.
libbson bundled version => 1.9.4
libmongoc bundled version => 1.9.4
libmongoc SSL => enabled
libmongoc SSL library => OpenSSL
libmongoc crypto => enabled
libmongoc crypto library => libcrypto
libmongoc crypto system profile => disabled
libmongoc SASL => enabled
libmongoc compression => enabled
libmongoc compression snappy => disabled
libmongoc compression zlib => enabled

Mongodb version is 3.6.2 with authentication enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions