I’m doing some investigation on the oplog / change stream mechanism using an M0 cluster. Created a small sample that watches a collection with no specific options sets. When I do insert, insertMany, deleteOne or deleteMany (with a single document deleted) I receive the events in my watch consumer and I can find the oplog entries using sorting line $natural: -1. The issue I have is that if I execute a deleteMany with no filters or targeting a number of documents > 1 I receive in the watch consumer the events but I’m not able to query the oplog.rs to find the conresponding entries in oplog.rs. Where do these events come from?
Thank you for support
Skip to main content
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
Seeking Data modeling advise: Should this entity collection be split into multiple based on the entity type | 3 | 308 | Jun 2024 |
How to remove documents nested within2 arrays | 11 | 375 | Aug 2024 |
Won’t able to transfer data from one database to another using mongorestore tool | 0 | 26 | Oct 2024 |
$unwind order reverse of previously | 3 | 85 | Nov 2024 |
Is there performance difference between multiple “$set” and a single “$set” | 0 | 36 | Dec 2024 |