Refactor retryable reads and writes logic to avoid duplication

XMLWordPrintableJSON

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

                Created:
                Updated:
                Resolved: