abortTransaction and commitTransaction commands should not acquire ticket irrespective of the prepared state.

XMLWordPrintableJSON

    • Fully Compatible
    • v4.2, v4.0
    • Repl 2019-07-29
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, if a transaction is prepared, we don't acquire ticket due to SERVER-41980. We have ticketing mechanism to throttle readers and writers from overwhelming the storage resources. Also, when a ticket is acquired, it indicates that the operation/cmd is going to acquire more storage resources. But, both abortTransaction and commitTransaction cmd are not going to acquire any more storage resources (except writing to oplog) instead they are going to release the storage resources. So, to have a general solution, abortTransaction and commitTransaction commands should not acquire ticket.

              Assignee:
              Suganthi Mani
              Reporter:
              Suganthi Mani
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: