Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33475

Retried findAndModify doesn't properly wait for writeConcern

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.6.3, 3.7.1
    • 3.6.5, 3.7.4
    • Replication
    • None
    • Fully Compatible
    • v3.6
    • Sharding 2018-04-09
    • 0

    Description

      Similar to SERVER-33232, a fully retried write (write was sent more than once to the server and no writes needs to be done at this moment because they were already completed in the previous attempts) will never acquire the global lock in mode X or IX, and will thus not satisfy this condition:

      https://github.com/mongodb/mongo/blob/r3.7.1/src/mongo/db/service_entry_point_mongod.cpp#L356-L360

      Attachments

        Issue Links

          Activity

            People

              randolph@mongodb.com Randolph Tan
              randolph@mongodb.com Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: