Retried findAndModify doesn't properly wait for writeConcern

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.5, 3.7.4
    • Affects Version/s: 3.6.3, 3.7.1
    • Component/s: Replication
    • None
    • Fully Compatible
    • v3.6
    • Sharding 2018-04-09
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

              Assignee:
              Randolph Tan
              Reporter:
              Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: