[teiid-issues] [JBoss JIRA] (TEIID-2467) thread waits for matview loads

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Sat Apr 13 09:29:54 EDT 2013


     [ https://issues.jboss.org/browse/TEIID-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-2467.
-----------------------------------

    Resolution: Done


moved all temp logic over to stateful tuplesources that allow for proper blocking.  This is somewhat more complicated than the previous logic since some of the operations now are nested (a blocking load of an imported mat view will have 3 tuplesources - the outer for the user query, the next for the creation of the temp table, and the inner for the view query). 

eventually we could also allow subquery evaluation with temp table queries - however that has additional considerations with read/write locks.
                
> thread waits for matview loads
> ------------------------------
>
>                 Key: TEIID-2467
>                 URL: https://issues.jboss.org/browse/TEIID-2467
>             Project: Teiid
>          Issue Type: Quality Risk
>          Components: Query Engine
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.4
>
>
> While a matview is loading other threads attempting to query the same matview are held as waiters on the table info lock.
> Also the mat table loading thread is marked is not allowed to throw a blocked exception and is tied to the current loading work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list