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

Write conflict error message makes no mention of write conflicts

    • Query Execution
    • Fully Compatible
    • ALL
    • v8.0
    • QE 2024-07-22, RSS Sydney - 2024-07-09

      In 7.0.11, a write conflict due to an update would generate this error message:

      Caused by :: Write conflict during plan execution and yielding is disabled. :: Please retry your operation or multi-document transaction.
      

      In 8.0.0-rc9, the message is now:

      Internal retry explicitly disabled for query :: caused by :: Caused by ::  :: Please retry your operation or multi-document transaction.
      

      While the error code is WriteConflict, the message does not explain the error well. We should improve this, and clean up all of the "caused by" formatting issues.

            Assignee:
            colin.stolley@mongodb.com Colin Stolley
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: