Uploaded image for project: 'Spark Connector'
  1. Spark Connector
  2. SPARK-281

Control/limit the number of open cursors to the database

    • Type: Icon: New Feature New Feature
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Configuration
    • None

      Note the following error message from the Spark plugin:

       

          com.mongodb.MongoCommandException: Command failed with error 2: 'Cannot open a new cursor since too many cursors are already opened' on server server_dns:27017. The full response is {"ok": 0.0, "errmsg": "Cannot open a new cursor since too many cursors are already opened", "code": 2}

       

      After reviewing the documentation to configure the plugin here there is no mechanism in the configuration to control the number of active cursors used by the plugin.

      There should be a configuration parameter to not allow more than X active cursors to the database.

       

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            daniel.stjnv+mongodb@gmail.com Dan S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: