Skip to content

Commit 2de5004

Browse files
authored
DOCSP 22683 - primary node failure in deleteMany (#1609)
* 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 9e86de6 commit 2de5004

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
@@ -149,6 +149,14 @@ Transactions
149149

150150
.. |operation| replace:: :method:`db.collection.deleteMany()`
151151

152+
Primary Node Failure
153+
~~~~~~~~~~~~~~~~~~~~
154+
155+
:method:`db.collection.deleteMany()` deletes documents one at a time.
156+
If the primary node fails during a :method:`db.collection.deleteMany()`
157+
operation, documents that were not yet deleted from secondary nodes are
158+
not deleted from the collection.
159+
152160
Examples
153161
--------
154162

0 commit comments

Comments
 (0)