Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
Backlog
-
Fully Compatible
-
v5.0
-
Sharding EMEA 2021-05-31
Description
When executing a rename collection, there are some expected errors where we don't want them to be retried, so the idea is to encapsulate the exception somehow to have something like the following:
try {
|
...<code> ...
|
} catch (const ExpectedException& ex) {
|
throw NonRetriableException(ex);
|
}
|
This way we have a declarative way to tell the DDL coordinator will not retry this time because it is an expected error.
Attachments
Issue Links
- causes
-
SERVER-62521 Distributed locks might not be released on definite error when using a DDL coordinator
-
- Closed
-
- is depended on by
-
SERVER-57017 Enable sharded DDL plus FCV FSM in stepdown suites
-
- Closed
-