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

Internal transactions test command API use should use owned BSON

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding NYC 2022-05-30

      The internal transactions test command passes a shared pointer containing a vector of TestInternalTransactionsCommandInfo structs to its transaction API use which have unowned BSON that is owned by the test command itself. If the command is interrupted and exits before the API finishes, the API can crash when accessing the unowned BSON. Instead the command should pass owned BSON to the API.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: