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

WaitForWriteConcern should not be skipped entirely for local commands

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Execution Team 2024-04-29, Execution Team 2024-05-13, Execution Team 2024-05-27

      Currently we have a check very early in the code to skip waiting for write concern completely if the command targets a non-replicated DB. I think this is incorrect for 2 reasons:

      1. We should honor j:1 write concerns even on the local db
      2. Even commands that target the local db can have replicated writes (eg using an agg $out stage into another db)

            Assignee:
            daotang.yang@mongodb.com Daotang Yang
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: