PyMongo should send killCursors on MaxTimeMSExpired Error

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 4.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: