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

Provide an API to inspect transaction state

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Transactions
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a Node driver user,
      I want an API to inspect the state of a transaction to determine whether or not it is committed,
      So that I have branching logic in my application that doesn't rely on tracking state in try-catch APIs.

      User Experience

      Users should be able to inspect the transaction object to determine if the transaction is committed.

      Dependencies

      none.

      Risks/Unknowns

      • Are there any other transaction states with adding?
      • Should we consider a specification change to add this API?

      Acceptance Criteria

      Implementation Requirements

      • tbd

      Testing Requirements

      • tbd

      Documentation Requirements

      • tbd

      Follow Up Requirements

      none

            Assignee:
            Unassigned Unassigned
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None