Write concern accepts negative values for w argument

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: