Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1879

no_cursor_timeout not functioning as expected

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 3.8
    • None
    • None

    Description

      I have a MongoDB server cluster running on AWS. The set up is as follows:

      1 x mongos router

      3 x mongod config servers

      1 x shard

           - 3x mongod replicaset

      I am trying to do some maths with info stored in every document of one collection. The calculation can be long so to prevent cursor timeout I used no_cursor_timeout option in find() function. However, even with setting the batch size to 2, I am still getting cursor timeout error.

      Attachments

        Issue Links

          Activity

            People

              shane.harvey@mongodb.com Shane Harvey
              zhouyang.lian@familian.life Zhouyang Lian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: