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

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-rc1, 5.1.0-rc0
    • Component/s: None
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v5.0
    • Sprint:
      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

              Assignee:
              huayu.ouyang Huayu Ouyang
              Reporter:
              samy.lanka Samyukta Lanka
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: