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

Refactor retryable reads and writes logic to avoid duplication

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

      The retryable reads and writes logic in MongoClient is split into two methods with a fair amount of duplication. We should refactor these together to avoid the duplication: https://github.com/mongodb/mongo-python-driver/blob/0092b0af79378abf35b6db73a082ecb91af1d973/pymongo/mongo_client.py#L1362-L1487

            Assignee:
            jib.adegunloye@mongodb.com Jib Adegunloye
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: