millions of warnings per day, state DB grows by 4GB/day
Menno Smits
menno.smits at canonical.com
Thu Aug 27 04:02:08 UTC 2015
On 27 August 2015 at 03:55, John Meinel <john at arbash-meinel.com> 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/juju@lists.ubuntu.com/msg02658.html
It's probably best read in context of the whole thread starting here:
https://www.mail-archive.com/juju@lists.ubuntu.com/msg02574.html
- Menno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150827/a00714fc/attachment.html>
More information about the Juju
mailing list