Hello,
I'm using Mondrian 3.5.0. I struggle with an aleatory bug, that I reproduce often, but never for sure.
I run 2 similar queries in parallel (switching the members on row and columns), and sometimes get 2 different results.
Query 1
with member [Version].[Filter-mainversion] as Aggregate({[Version].[mainversion]})
select NON EMPTY{ CrossJoin ({[Time].[2013].[Apr]:[Time].[2014].[Apr]}, {([Measures].[SumOverTime])})} on columns ,
NON EMPTY{{[CrewPopulation].[CREW].[AAA],[CrewPopulation].[CREW].[BBB]}} on rows
from MonthlyValues where ([Version].[Filter-mainversion])
Query 2 (switch axes)
with member [Version].[Filter-mainversion] as Aggregate({[RosterVersion].[mainversion]})
select NON EMPTY{ CrossJoin ({[CrewPopulation].[CREW].[AAA],[CrewPopulation].[CREW].[BBB]}, {([Measures].[SumOverTime])})} on columns ,
NON EMPTY{{[Time].[2013].[Apr]:[Time].[2014].[Apr]}} on rows
from MonthlyValues
where ([Version].[Filter-mainversion])
The first cell in both cases is [Measures].[SumOverTime] for [CrewPopulation].[CREW].[AAA] and [Time].[2013].[Apr]. The results are expected to be the same.
But when I run the both queries in parallel, *sometimes*, the results are different
Res1 (the good one)
<CellData>
<Cell CellOrdinal="0">
<Value xsi:type="xsd:double">1039.9429922473144</Value>
<FmtValue>1039,9</FmtValue>
<FormatString>####0.0</FormatString>
</Cell>
Res2
<CellData>
<Cell CellOrdinal="0">
<Value xsi:type="xsd:double">639.754209686855</Value>
<FmtValue>639,8</FmtValue>
<FormatString>####0.0</FormatString>
</Cell>
But if I immediately run again the both queries in parallel, Res2 becomes correct.
And then it becomes really hard to reproduce it on the same cells (change browser, clear the mondian cache...)
Every time I reproduce the bug, it happens on the 1st column of the 1st query's result (in this example, on Apr 2013).
I'm suspecting an internal cache issue.
Does anyone has any idea about this ?
Is there a mondrian.properties I should try ?