[CSHARP-4344] Consider agreement when we throw MongoBulkWriteException and MongoWriteException Created: 06/Oct/22 Updated: 26/Jan/23 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | Bulk API |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Dmitry Lukyanov (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently we don't have strict rules where we throw MongoWriteException and where MongoBulkWriteException. For example, we throw MongoBulkWriteException in InsertMany, but MongoWriteException in UpdateMany, we should be more consistent here. |