Shell should prohibit unacknowledged writes in session

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • ALL
    • Repl 2019-01-14, Repl 2019-01-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The Driver Sessions Spec says:

      "For unacknowledged writes with an explicit session, drivers SHOULD raise an error. If a driver allows users to provide an explicit session with an unacknowledged write (e.g. for backwards compatibility), the driver MUST NOT send the session ID."

      As demonstrated in shell_can_retry_writes.js and perhaps other places, the shell allows w: 0 writes in an explicit session. It therefore risks exactly what the spec wants to prevent: concurrent writes with the same lsid.

            Assignee:
            A. Jesse Jiryu Davis
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: