Skip to content

Commit 0a396ac

Browse files
authored
DOCSP 22683 - primary node failure in deleteMany (#1609) (#1633)
* DOCSP-22688 adding primary node failure behavior to deleteMany * DOCSP-22688 adding primary node failure behavior to deleteMany * DOCSP-22683 small copy edit
1 parent 9ecf05b commit 0a396ac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/reference/method/db.collection.deleteMany.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@ Transactions
140140

141141
.. |operation| replace:: :method:`db.collection.deleteMany()`
142142

143+
Primary Node Failure
144+
~~~~~~~~~~~~~~~~~~~~
145+
146+
:method:`db.collection.deleteMany()` deletes documents one at a time.
147+
If the primary node fails during a :method:`db.collection.deleteMany()`
148+
operation, documents that were not yet deleted from secondary nodes are
149+
not deleted from the collection.
150+
143151
Examples
144152
--------
145153

0 commit comments

Comments
 (0)