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

Make router TransactionParticipant attach txnNumber to requests if not already there

    • Fully Compatible
    • ALL
    • Sharding 2018-07-30

      For example, sending the command like this to mongos:

      { killCursors: "kill_cursors_in_transaction", cursors: [ 8889987431650893989 ], lsid: { id: UUID("016700de-5430-4f62-9659-6c09e1e46bf6") }, txnNumber: 1, autocommit: false, stmtId: 0, startTransaction: true, $db: "test" }                 
      

      Will result in txnNumber field missing when mongos sends killCursors to shard.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: