Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Execution Team 2021-11-01
Description
A WriteConflictException currently contains a generic message. Generally, this is acceptable because a WriteConflictException is used mostly within a WCE retry loop. In certain cases, the caller may want to include some contextual information in a string format. Extending the WriteConflictException constructor to accept a context string (which will be passed to DBException::addContext()) would be a convenient way to capture this additional information.
Attachments
Issue Links
- is related to
-
SERVER-59657 Add ErrorExtraInfo for the WriteConflictException and use in transaction_participant.cpp updateSessionEntry()
-
- Closed
-