<div dir="ltr"><br clear="all"><div>I was trying out the fix made with issue <a href="http://jira.pentaho.com/browse/MONDRIAN-2366">http://jira.pentaho.com/browse/MONDRIAN-2366</a> and found myself with a new problem... For some reason when i execute the code in the issue to clear the member cache for a specific cube, all the segments from other cubes get removed.</div><div><br></div><div>this is the code:</div><div><br></div><div>RolapCube cube = schema.lookupCube(cubeName, false)<br></div><div>CacheControl cacheControl = con.getCacheControl(null)<br></div><div><br></div><div><div>cube.hierarchies.each{ RolapHierarchy hierarchy -&gt;</div><div>     if(hierarchy.hasAll()) {</div><div>           cacheControl.flush(cacheControl.createMemberSet(hierarchy.getAllMember(), true))</div><div>     }</div><div>}</div></div><div><br></div><div><br></div><div>Any idea why this happens? </div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Hilario Fernandes</div></div></div>
</div>