Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Replication
Description
DRIVERS-2327 introduces a problem in test where we need to configure a fail point to raise errors in succession. For instance, consider the following proposed configuration schema:
db.adminCommand({
|
configureFailPoint: "failCommand",
|
mode: {times: 2},
|
data: {
|
failCommands: ["insert"],
|
errors: [
|
{errorCode: 10107, errorLabels: ["RetryableWriteError"]},
|
{errorCode: 9001, errorLabels: ["RetryableWriteError", "NoWritesPerformed"]}
|
]
|
}
|
);
|
With the proposed update, if we ran three inserts: the first insert would raise 10107, the second insert would raise 9001, and the third insert would raise no failpoint-configured error.
Attachments
Issue Links
- is depended on by
-
RUST-1694 Update retry_write_retryable_write_error to use successive failpoints
-
- Blocked
-
- is related to
-
DRIVERS-2327 Propagate Original Error for Write Errors Labeled NoWritesPerformed
-
- Implementing
-