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

Do not set WriteType as WriteWithoutShardKeyWithId for transactional writes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • Cluster Scalability 2023-12-11
    • 2

      As reported by kaitlin.mahar@mongodb.com, we are checking !opCtx->isMultiDocumentTransaction() to ascertain if we are in a transaction or not. This method is incorrect as it only checks if user requested the same. This should be replaced with a check for null value of TransactionRouter::get

            Assignee:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Reporter:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: