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

Control/limit the number of open cursors to the database

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Configuration
    • Labels:
      None

      Description

      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.

       

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: