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

Omit nModified field from Bulk API results if legacy server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.7
    • 2.7
    • None
    • None

    Description

      Legacy servers don't report nModified for updates, and it is impossible for the driver to simulate it: nModified must be equal to the number of documents that are actually different after an update, but legacy servers only report the number of documents matched. PyMongo must therefore omit the nModified field from a Bulk API result when talking to a legacy server.

      Attachments

        Issue Links

          Activity

            People

              jesse@mongodb.com A. Jesse Jiryu Davis
              jesse@mongodb.com A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: