]
RH Bugzilla Integration commented on TEIID-4130:
------------------------------------------------
Alex Szczuczko <aszczucz(a)redhat.com> changed the Status of [bug
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.7.6.6_2, 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]
...