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

BulkWrite on mongos does not correctly handle early termination in transactions

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • v8.0
    • Repl 2024-09-16
    • 200

      When executing a write operation in a transaction it will always behave as an ordered:true write, it will stop on the first error it encounters. BulkWrite did not properly handle this on mongos where we made assumptions based only on the value of ordered and not also based on if we are in a transaction. This could cause us to hit a tripwire assert if the bulkWrite caused a non-transient error to occur during execution.

            Assignee:
            sean.zimmerman@mongodb.com Sean Zimmerman
            Reporter:
            sean.zimmerman@mongodb.com Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: