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 |
---|---|---|---|
Using MongoDB with Entity Framework Core in DDD: Generating ObjectId for Entity Ids while Maintaining Abstraction | 1 | 1.0k | Jul 2024 |
Aggregation pipeline performance | 0 | 278 | Jul 2024 |
If lot of collections, can the schemaLock time be longer? | 0 | 188 | Aug 2024 |
How to properly search a collection and a relation at the same time? | 2 | 274 | Aug 2024 |
Xirr calculation in mongodb | 4 | 66 | Feb 17 |