-
Type: Investigation
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Not Needed
Commands which failed with the RetryableWriteError label can now also return a new NoWritesPerformed error label if no writes were performed during the operation of that command.
Description of Linked Ticket
Some errors from mongodb indicate that an operation was definitely not performed; This includes the retriable error NotWritablePrimary. Other errors indicate the operation may or may not have been performed, or partially performed in the case of non-transactional multi- or bulk- writes. For the purpose of returning the most informative error from the driver in a retriable write situation, we should have a label indicating the error is "definite" – that is, no writes were performed.
- depends on
-
SERVER-66479 Create an error label indicating if a retryable error is "definite".
- Closed