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

PyMongo should send killCursors on MaxTimeMSExpired Error

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.6
    • Affects Version/s: None
    • Component/s: None
    • None

      In PYTHON-2673 we added a list of error codes that signify that "
      the server has already killed the cursor so there is no need to send killCursors."
       
      However, it looks like "50, # MaxTimeMSExpired" should not have been included in that list, because it might lead to SERVER-67722.
       

      https://github.com/mongodb/mongo-python-driver/blame/4.5.0/pymongo/cursor.py#L72-L101

            Assignee:
            noah.stapp@mongodb.com Noah Stapp
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: