-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2021-11-01
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.
- is related to
-
SERVER-59657 Add ErrorExtraInfo for the WriteConflictException and use in transaction_participant.cpp updateSessionEntry()
- Closed