Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2802

Apply txnNumber without mutating command options

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Operations Layer
    • None

      Currently the CommandOptions take a property willRetryWrite which is a hint from executeOperation that the txnNum should be applied to this command. Applying a session to a command should happen as part of command construction, most likely in the CommandOperation#executeCommand method, where we have access to the details we need to determine if a txnNum should also be applied.

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: