Hi,

Keeping it at "WARN" is very important. Otherwise, we don't have a way to
see missing indexes / bad queries.


I think setting it to 10'000 (instead of 1000) is probably a good idea.
Making it configurable, if you really want then OK, if the default is
10'000.

Regards,
Thomas



On 21/10/14 10:31, "Davide Giannella" <[email protected]> wrote:

>Hello folks,
>
>the WARN[0] tracked by the PathIterator in the
>ContentMirrorStorageStrategy is causing IMO more "harm" than good as it
>tracks a WARN in the logs every 1k nodes traversed. On normal repository
>an index is going to have more than 1000 nodes in it and therefore even
>if we have always more and more warnings in the logs.
>
>(0) http://goo.gl/VJEg39
>
>I see always more customers trying to optimise queries where all the
>indexes are already in place they're simply big because the repository
>is big.
>
>I would reduce that trace to DEBUG or at least make the threshold
>configurable, ideally on index definition level with a default of 1000
>as now.
>
>WDYT?
>
>Davide
>
>

Reply via email to