[Mondrian] printCacheState

Luc Boudreau lucboudreau at gmail.com
Fri Feb 15 09:53:54 EST 2013

Seems to me that both are doing their job as they should. If you call
printCacheState, you expect it to give a full report on the state of the
cache. Flushing is usually done on a per-region basis. How about using
CacheControl.flushSchemaCache() ?


On Fri, Feb 15, 2013 at 8:49 AM, Kurtis Walker <kwalker at pentaho.com> wrote:

> I implemented a change to BatchTestCase.clearCache that will wait for the
> cache to be empty before continuing.  The cache is checked by using the
> printCacheState method.  I got a few additional test failures after the
> change, because printCacheState is never printing empty with the same
> region that FlushCommand is called with.  I figured out that the
> FlushCommand will clear the cache only for the cube that is specified in
> the cell region, while the printCacheState method prints the cache for the
> measures in the region for any cube.  Is this the correct behaviour?  I
> suspect it is not and that printCacheState is doing the incorrect thing.
> Kurt
> _______________________________________________
> Mondrian mailing list
> Mondrian at pentaho.org
> http://lists.pentaho.org/mailman/listinfo/mondrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20130215/3d5f3e11/attachment.html 

More information about the Mondrian mailing list