-
Type: Bug
-
Resolution: Unresolved
-
Priority: Trivial - P5
-
None
-
Affects Version/s: 6.3.2
-
Component/s: None
-
None
-
Server Triage
-
ALL
Actual Behaviour
Recently, I combined different types of operations, such as updateMany and deleteMany, into a single operation in the `bulkWrite` command, hoping it would work as I didn't find any warnings/tips in the [documentation|https://www.mongodb.com/docs/manual/reference/method/db.collection.bulkWrite/.]
When I ran it via a MongoShell script, it ran successfully without any error. But after an hour, I realised that all the operation counts in the result were zero.
When I consulted the MongoDB AI, it also clarified that it's not allowed.
Expected Behaviour
The `bulkWrite` operation should fail and throw some error.