Reputation: 37019
Is there a way to get documents that were automatically removed during a cleanup operation from a capped or TTL collection in MongoDB?
Thanks!
Upvotes: 1
Views: 198
Reputation: 361
No.
(I believe you will find the _id's -- not the whole document though -- of the deleted documents in the replication oplog local.oplog.rs for ttl collections. But not for capped collections.)
Upvotes: 1