The function catches a DBException and converts it to a Status, then re-throws it if it was a WriteConflict. This leaves TemporarilyUnavailable and TransactionTooLargeForCache exceptions unhandled.
The code should directly catch and re-throw StorageUnavailableExceptions.
- is related to
-
SERVER-81979 Audit conversion of DBException to Status for correct handling of StorageUnavailableException
- Closed