[teiid-issues] [JBoss JIRA] (TEIID-2130) DataNotFoundException inconsistency when used with engine

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Thu Aug 2 14:11:07 EDT 2012


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

Steven Hawkins resolved TEIID-2130.
-----------------------------------

    Resolution: Done


Corrected the root issue by separating execute and more responsibilities on ConnectorWork.  Also added ExecutionFactory.isForkable so that the ExecutionFactory can force whether to allow additional threads to be used (the source in this issue for example does not need a separate thread).

Added the notion of a strict DataNotAvailableException in which the Execution is not consulted until the delay/Date is reached or dataAvailable is called.  Also added a DataNotAvailableException constructor using a Date that by default is strict.
                
> DataNotFoundException inconsistency when used with engine
> ---------------------------------------------------------
>
>                 Key: TEIID-2130
>                 URL: https://issues.jboss.org/browse/TEIID-2130
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 8.0
>            Reporter: Ramesh Reddy
>            Assignee: Steven Hawkins
>             Fix For: 8.1
>
>         Attachments: TestPollDataNotFoundWithExecutionReuse.java, TestWaitUntilDataNotFoundWithExecutionReuse.java
>
>
> When a DataNotException is thrown from translator, the engine should wait until commancContext.dataAvailable() call before it can send the "next" request to translator. However when the dataAvaialble() is called, in the async mode the Reset and Execute are being called instead of "next".
> See the attached test case for the behaviour.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list