[ 
https://issues.apache.org/jira/browse/SOLR-17629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17915929#comment-17915929
 ] 

ASF subversion and git services commented on SOLR-17629:
--------------------------------------------------------

Commit e91e8dcd31ff458c7425e989a397cdd30cf8da59 in solr's branch 
refs/heads/main from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=e91e8dcd31f ]

SOLR-17629: SQLHandler: remember to close if open fails (#3045)



> SQL didn't always close internal resources if it encountered an exception
> -------------------------------------------------------------------------
>
>                 Key: SOLR-17629
>                 URL: https://issues.apache.org/jira/browse/SOLR-17629
>             Project: Solr
>          Issue Type: Bug
>          Components: Parallel SQL
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The SQLHandler internally creates a TupleStream and opens it.  If opening it 
> fails, the TupleStream isn't getting closed, as it should.
> What's kinda cool is that this bug was found via additional use of 
> ObjectReleaseTracker.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to