[Mondrian] Deadlock issue

Matt Campbell mcampbell at pentaho.com
Fri Nov 8 12:58:20 EST 2013

And it's actually not just optimizePredicates() that could prompt a cardinality SQL statement on the actor thread.  It can happen with SegmentBuilder.toConstrainedColumns() as well.

On 11/08/2013 11:41 AM, Luc Boudreau wrote:

On Fri, Nov 8, 2013 at 11:16 AM, Matt Campbell <mcampbell at pentaho.com<mailto:mcampbell at pentaho.com>> wrote:
Thread (b) blocks waiting on the connection held by (a)

To me that's the core of the problem. The actor thread should not run SQL statements; ever. But as we have realized while browsing the code, moving the optimization phase isn't trivial.

Still thinking about this...

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

More information about the Mondrian mailing list