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

Retryable writes do not support 32-bit transaction ids

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.5.13
    • Component/s: Write Ops
    • Labels:
      None
    • ALL

      The retryable writes design doc and drivers spec both say that a transaction id may be a 32-bit or 64-bit positive integer. However, the server currently rejects 32-bit transaction ids:
      OperationFailure: BSON field 'OperationSessionInfo.txnNumber' is the wrong type 'int', expected type 'long'

      CC: jmikola

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: