Comment 3 for bug 1524135

Revision history for this message
Menno Finlay-Smits (menno.smits) wrote : Re: [Bug 1524135] Re: 'debug-log' fails when logs are large when using db-log

Thanks very much for both finding and fixing this.

On 11 December 2015 at 08:30, John A Meinel <email address hidden> wrote:

> The fix should have landed in master.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1524135
>
> Title:
> 'debug-log' fails when logs are large when using db-log
>
> Status in juju-core:
> Fix Committed
>
> Bug description:
> While doing a scale test I ran into this failure:
> 2015-12-09 00:29:21 ERROR juju.apiserver debuglog.go:96 debug-log
> handler error: tailer stopped: too much data for sort() with no index. add
> an index or specify a smaller limit
>
> I have 1500 ubuntu units, so there is a significant level of logging
> going on. Apparently the code which tracks the log content is getting
> overloaded and Mongo is refusing to do time sorting for us.
>
>
> This is in an environment bootstrapped with
> "JUJU_DEV_FEATURE_FLAG=db-log,disable-rsyslog"
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju-core/+bug/1524135/+subscriptions
>