Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-957

w=0 with bypassDocumentValidation set must error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.0-beta0
    • Affects Version/s: 1.3.0
    • Component/s: None
    • Labels:
      None

      This is because we will "fallback" to using the OP_INSERT/OP_UPDATE opcodes which don't support this feature.

      Had we used the normal write commands, then w=0 would be valid value and valid action.

      The decision to error, rather then "upgrade to use write commands and w=0" is due to the fact write commands w=0 latency is dramatically higher than OP_INSERT – and the assumption is that would hurt users more.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: