[teiid-issues] [JBoss JIRA] (TEIID-2308) Enhance reusable execution semantics to support throwing DataNotAvailable from reset method

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Fri Nov 16 09:55:21 EST 2012


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

Steven Hawkins resolved TEIID-2308.
-----------------------------------

           Labels: 8.2.0.Final  (was: )
    Fix Version/s: 8.2
       Resolution: Done


Pulled back the fix to 8.2.  There were two issues with the old code.

1. DNA thrown from execute would call reset each reentry.
2. DNA thrown from reset/execute would obtain a new connection on each retry (if connections were needed) without closing the prior connection.

Just adding if checks of the current state is enough to address these issues.  Now a DNA thrown from next/reset/execute will simply retry the current call at a later time.
                
> Enhance reusable execution semantics to support throwing DataNotAvailable from reset method
> -------------------------------------------------------------------------------------------
>
>                 Key: TEIID-2308
>                 URL: https://issues.jboss.org/browse/TEIID-2308
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Query Engine
>    Affects Versions: 8.2
>            Reporter: Mark Addleman
>            Assignee: Steven Hawkins
>              Labels: 8.2.0.Final
>             Fix For: 8.2
>
>
> reset() can throw DataNotAvailable.  Execution will resume at reset() method
> reset() should only be called once.  
> Details, see https://community.jboss.org/message/773483#773483

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list