[teiid-issues] [JBoss JIRA] (TEIID-2430) Add faster resource cleanup for failed sortutility runs

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Mon Apr 8 13:48:42 EDT 2013


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

Steven Hawkins resolved TEIID-2430.
-----------------------------------

    Resolution: Done


Where simple, exiting sortutilities are held statefully and cleanuped when the relevant node is closed (this catches failure cases that happen outside of the sortutility processing).  Also added try catch blocks for the main sorting methods to ensure that failures are immediately cleaned up.

There are still 2 less than ideal scenarios where we are not statefully holding a sortutility, which have been updated to not block on memory  Due to TEIID-2429 this means that there is a minor chance that the processing could block on memory.  Prior to this check-in that means that the current working results would need to be cleaned up by reference and everything reprocessed again.
                
> Add faster resource cleanup for failed sortutility runs
> -------------------------------------------------------
>
>                 Key: TEIID-2430
>                 URL: https://issues.jboss.org/browse/TEIID-2430
>             Project: Teiid
>          Issue Type: Quality Risk
>          Components: Query Engine
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.4
>
>
> Failure during the run of sort utility (which can occur in the sort utility or outside due to blocked exceptions / streaming dup remove) will just rely on garbage collection clean-up of intermediate buffers.  There should better handling in calling code to clean up proactively.

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