Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Added functionality for pruning mgo/txn's transactions collection #10
Conversation
mjs
referenced this pull request
in juju/juju
May 19, 2015
Merged
Prune completed transactions #2361
mjs
commented
May 20, 2015
|
$$merge$$ |
pushed a commit
that referenced
this pull request
May 20, 2015
mjs
merged commit c3617a3
into
juju:master
May 20, 2015
mjs
deleted the
mjs:add-txn-pruning
branch
May 20, 2015
added a commit
to juju/juju
that referenced
this pull request
May 20, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mjs commentedMay 18, 2015
If left alone, the collection used by mgo/txn to coordinate and track client-side transactions will grow without bound.
This change adds a PruneTransactions method to the Runner interface. This can be called at any time to remove mgo/txn's documents for applied and aborted transactions. It is intended to be called periodically.
(Review request: http://reviews.vapour.ws/r/1705/)