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

Set OperationContext::_isStartingMultiDocumentTransaction when startOrContinueTransaction leads to starting a txn

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Cluster Scalability
    • Fully Compatible
    • Cluster Scalability 2024-2-19, Cluster Scalability 2024-3-4

      There's a flag on the OperationContext indicating that a given operation is starting a transaction on a node - today it's set if startTransaction is set in a request. This flag is checked in order to make various decisions, e.g. whether locker state should be reset.

      We should set this flag if a request with startOrContinueTransaction leads to a transaction being started on node, but not if it leads to the transaction being continued.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: