[teiid-issues] [JBoss JIRA] (TEIID-4130) Prevent blocked exceptions from being thrown in AccessNode open

Steven Hawkins (JIRA) issues at jboss.org
Tue Apr 12 19:35:00 EDT 2016


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

Steven Hawkins resolved TEIID-4130.
-----------------------------------
    Resolution: Done


Added a catch block to prevent blocked exceptions from going further and allowed the open operations to continue in the next batch method.

> Prevent blocked exceptions from being thrown in AccessNode open
> ---------------------------------------------------------------
>
>                 Key: TEIID-4130
>                 URL: https://issues.jboss.org/browse/TEIID-4130
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 8.7
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 9.0, 8.12.5, 8.13.4
>
>
> Having the access node block in open can lead to unintended consequences in parent nodes.  For example with tuplesource caching it can create additional tuplesource instances such the cached source is closed prematurely (as it thinks that all readers have been satisfied).  This results in exceptions similar to:
> TEIID30019 Unexpected exception for request 2TLgULsEBZvO.8: java.lang.AssertionError: ASSERTION FAILED: expected reference to be not null
> ...
> 	at org.teiid.common.buffer.TupleBuffer.getBatch(TupleBuffer.java:286) \[teiid-engine-8.7.5.6_2-redhat-1.jar:8.7.5.6_2-redhat-1]
> 	at org.teiid.dqp.internal.process.TupleSourceCache$CopyOnReadTupleSource.nextTuple(TupleSourceCache.java:103) \[teiid-engine-8.7.5.6_2-redhat-1.jar:8.7.5.6_2-redhat-1]
> ...



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list