Closed
Description
Is it possible to drop old operations from the oplog to free up database space after some specified timeout? We don't really need a full history of all operations after a few days (right?), and when operations are generated for every keypress pretty much, the database can grow very fast.
I tried using a Mongo ttl index on the ops but that doesn't work: We get a Missing oplog
error from the redis driver when both redis and mongo have been cleared. Do we only need to keep around the latest operation (or 10 say), or is there a better solution? Thanks!
Metadata
Metadata
Assignees
Labels
No labels