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

w=0 with bypassDocumentValidation set must error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0-beta0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      C Driver 2015Q2 sprint 9

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: