[teiid-issues] [JBoss JIRA] Commented: (TEIID-1686) Assertion failure when using a plan result buffer

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Mon Sep 12 15:47:26 EDT 2011


    [ https://issues.jboss.org/browse/TEIID-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627959#comment-12627959 ] 

Steven Hawkins commented on TEIID-1686:
---------------------------------------

Are you referencing Van's question?  That was answered for the SOA issue, but wasn't answered here.  In short yes both are in 7.4.x.  See also the commit history.

> 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.6
>
>
> 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

        


More information about the teiid-issues mailing list