[
https://issues.jboss.org/browse/TEIID-1686?page=com.atlassian.jira.plugin...
]
Van Halbert reopened TEIID-1686:
--------------------------------
The failure is still occuring on EDS VQT queries in SOAP5.2-ER3. An example query is:
"SELECT * FROM VQT.U5"
The transformation for VQT.U5 is:
SELECT
BQT1.SmallA.IntNum, BQT1.SmallA.DoubleNum, 'SmallA' AS Source
FROM
BQT1.SmallA
UNION
SELECT
BQT1.SmallB.IntNum, BQT1.SmallB.DoubleNum, 'SmallB'
FROM
BQT1.SmallB
The failure has an inconsistent behavior but can easily be reproduced.
As an example this Assertion Error occurred after 5 repeated queries on one test and after
15 repeated queries
on another test of the above query.
The log for the 15 repeated queries is attached.
Assertion failure when using a plan result buffer
-------------------------------------------------
Key: TEIID-1686
URL:
https://issues.jboss.org/browse/TEIID-1686
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.4
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Critical
Fix For: 7.4.1, 7.5
When a plan can reuse the result buffer, for example with a top level sort operation.
Then both the batchcollector and the processingnode may call close on the buffer. The
second clause will trigger an assertionerror:
java.lang.AssertionError: Assertion failed.
at org.teiid.core.util.Assertion.failed(Assertion.java:73)
at org.teiid.core.util.Assertion.assertTrue(Assertion.java:68)
at org.teiid.core.util.Assertion.assertTrue(Assertion.java:60)
at org.teiid.common.buffer.TupleBuffer.saveBatch(TupleBuffer.java:177)
at org.teiid.common.buffer.TupleBuffer.close(TupleBuffer.java:192)
at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:153)
at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:352)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:278)
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:207)
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:194)
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:118)
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:288)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira