WriteConflict counter in serverStatus is not ticked if it is thrown by transaction

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • ALL
    • Execution Team 2023-11-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As opposed to non-transactional writes, when a multi-statement transaction throws a writeConflict, we don't increment the writeConflicts counter in serverStatus. This can be confusing for end users since driver automatically retries transactions on writeConflicts (imagine a user sees writeConflictExceptions in a transaction being logged or even popped up to application when driver exhausts retry, but then finds out that the writeConflict counter is not updated).

              Assignee:
              Wei Hu
              Reporter:
              Wenbin Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: