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

Fix semantics for write concern provenance when implicit default is used

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.0-rc1, 5.1.0-rc0
    • None
    • Fully Compatible
    • v5.0
    • Repl 2021-05-31

    Description

      We set the write concern provenance to be customDefault even when using the implicit default because of this line. customeDefaultWasApplied should be set based on the DefaultWriteConcernSource. We should update this in strategy.cpp similarly.

      Attachments

        Issue Links

          Activity

            People

              huayu.ouyang@mongodb.com Huayu Ouyang
              samy.lanka@mongodb.com Samyukta Lanka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: