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

no_cursor_timeout not functioning as expected

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.8
    • None
    • Environment:

      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.

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

              Created:
              Updated:
              Resolved: