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

WaitForWriteConcern should not be skipped entirely for local commands

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Replication
    • Execution Team 2024-02-05, Execution Team 2024-02-19

    Description

      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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: