fwiw in the past, i always found it useful to run
https://github.com/kapilt/juju-dbinspect (specifically the history
function) on pre-releases to check the txn collection for bad system
behavior wrt to extraneous writes and file bugs. txn cleanup is great, but
avoiding extraneous txns in the first place is probably better.

cheers,
kapil



On Thu, Aug 27, 2015 at 12:02 AM, Menno Smits <[email protected]>
wrote:

> On 27 August 2015 at 03:55, John Meinel <[email protected]> wrote:
>
>> Juju 1.23 has some known issues with Lease operations. All of those have
>> been fixed in the 1.24.4 (5?) release. It is good practice to take a backup
>> before upgrading, and if you want we can try to help sort out the specific
>> growth to make sure it gets cleaned out after the upgrade. (Even just
>> getting mongo stats on the collections as a whole is likely to help us
>> understand where the size is coming from.)
>>
>> If it is what I think it is, then I would expect the txns collection to
>> be growing rapidly. IIRC there is already code in the 1.24 series to prune
>> old transactions after they've been successfully applied. But that *might*
>> be a 1.25 thing. I do believe we have a program that can do the work
>> directly if it isn't integrated already.
>>
>
> The txns pruning functionality has been there since 1.24.0 so the
> excessive txns collection size should get resolved automatically following
> an upgrade to any 1.24 version (upgrading to the latest 1.24 is
> recommended).
>
> You may find you have a problem upgrading away from 1.23 (again, due to
> problems with the new lease feature). I created a Juju plugin to help work
> around this. See this post to the juju list:
> https://www.mail-archive.com/[email protected]/msg02658.html
>
> It's probably best read in context of the whole thread starting here:
> https://www.mail-archive.com/[email protected]/msg02574.html
>
> - Menno
>
>
> --
> Juju mailing list
> [email protected]
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to