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

Allow single-updates to specify their statement id

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Repl 2018-02-26

      Single updates are supported by retryable writes currently, but they currently get their stmtId auto-generated by mongod. For multi-statement txns, the stmtId will be provided by the driver. We should wire the client-provided stmtId through the retryable writes machinery, and ensure we track it properly in the txn table and in-memory txn state, but only when autocommit is false.

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: