[Mondrian] printCacheState

Kurtis Walker kwalker at pentaho.com
Fri Feb 15 10:05:43 EST 2013

Ok.  I'm passing the same cell region into both methods, so I expected they would work on the same set of values.  I'll see if I can find a way to work around the difference.

On Friday, February 15, 2013 08:53:54 AM Luc Boudreau wrote:

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.

Mondrian mailing list
Mondrian at pentaho.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20130215/555e81d1/attachment.html 

More information about the Mondrian mailing list