-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Service Arch
-
SP Prioritized List
The code base relies heavily on WriteConflictException, TemporarilyUnavailableException and TransactionTooLargeForCacheException deriving from DBException. Defining an error category for these exceptions today would cause those exceptions to derive from AssertionException instead. This is problematic because locations that catch AssertionExceptions will also start catching these exceptions; this is not desirable as it'll prevent these exceptions from bubbling up to their intended handler (e.g., writeConflictRetry).
- related to
-
SERVER-77542 Internal operations should handle TemporarilyUnavailable and TransactionTooLargeForCache exceptions
- Closed