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
1 Like