Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
ALL
-
Sharding 2021-02-08
-
1
Description
WriteConflictException extends from DBException so the WriteConflictException exception is converted into a status and returned up the stack.
try { |
...
|
} catch (const ExceptionFor<ErrorCodes::LockTimeout>&) { |
throw WriteConflictException(); |
} catch (const DBException& ex) { |
return ex.toStatus(); |
}
|
Attachments
Issue Links
- is related to
-
SERVER-49901 Implement ordinary insert rule for resharding's oplog application
-
- Closed
-
-
SERVER-49902 Implement ordinary delete rule for resharding's oplog application
-
- Closed
-