Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.8.0 GA (4.8.0 GA Suite Release)
-
Component/s: None
-
Labels:None
-
QA Validation Status:Validated by QA
Description
PentahoXmlaServlet was rewritten in 4.5, and in the process now has difficulty with sharing caches with Analyzer, XActions, PRPTs, etc. We need to fix the XMLA service to make sure it shares the same cache as the other sub-systems.
In order to validate, ensure that the latest mondrian trunk snapshot is being used and change the datasources.xml from
<DataSourceInfo>Provider=mondrian;DataSource=SampleData</DataSourceInfo>
to
<DataSourceInfo>Provider=mondrian;DataSource=SampleData;UseContentChecksum=true;JdbcConnectionUuid=SampleDataUUID</DataSourceInfo>
Now, open Analyzer and in SteelWheels, drag customer to rows and sales to Measures. Make a top 10 on customers on Sales.
Using the xmla4js plugin, execute the query:
select NON EMPTY {[Measures].[Sales]} ON COLUMNS, NON EMPTY TopCount([Customers].[All Customers].Children, 10.0, [Measures].[Sales]) ON ROWS from [SteelWheelsSales]
this is roughly the same query that Analyzer generated. Check the mondrian logs and verify that no sql statements have been executed when the second query is ran.
To test XActions, go to Plugin Samples -> CDF -> Documentation -> Component Reference -> Core Components -> XAction Component and open the XAction Component dashboard. After you get the chart on the UI, check the mondrian logs. Again, no sql statements should have been executed to return the results for this query.