-
Type:
Task
-
Resolution: Won't Do
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Replication
-
Repl 2023-04-17
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
For bulkWrite we use write_ops_exec::handleError to determine if we can continue to process other items in the operation. This function throws exceptions in multiple instances that we do not (where we want to add the individual error to our cursor response instead of failing at the top level).
Currently the only known case where we want to throw here is the isTransientTranactionError block. To simplify this we should make a helper function in bulk_write.cpp that calls write_ops_exec::handleError and only throws on this error