Open JackAdams opened 9 years ago
+1, but I agree, we can do it ourselves.
I'll probably do this at some stage, but it's low priority right now. More important to get a proper test suite written and a proper 2-phase commit as outlined in the mongo docs.
The
transactions
collection in the database of my production app is 10x larger than the next largest collection (in terms of disk space). For this reason, I'm thinking of making the package automatically clean out old transactions -- like 6 months old (by default) -- and configurable to never remove old transactions withtx.purgeAfter = 0;
.Ideas on this issue:
tx
object to archive all transactions older than a given date. Then apps can use their own trigger mechanism (e,.g,. using synced-cron package, REST - triggered authenticated command etc).