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

Write concern accepts negative values for w argument

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Replication
    • ALL

      In 4.2, we don't have strict bounds checking for the w argument for write concern. Instead, we only throw an error if the value is 0. This allows negative values for w (effectively unacknowledged writes). If we decide to fix this, we should disallow negative values to be passed into write concern.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: