flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chenguang He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3781) BlobClient may be left unclosed in BlobCache#deleteGlobal()
Date Mon, 18 Apr 2016 19:11:25 GMT

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

Chenguang He commented on FLINK-3781:
-------------------------------------

Sorry for inconvenient comments above. i forget to rebase my git

> BlobClient may be left unclosed in BlobCache#deleteGlobal()
> -----------------------------------------------------------
>
>                 Key: FLINK-3781
>                 URL: https://issues.apache.org/jira/browse/FLINK-3781
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> {code}
>   public void deleteGlobal(BlobKey key) throws IOException {
>     delete(key);
>     BlobClient bc = createClient();
>     bc.delete(key);
>     bc.close();
> {code}
> If delete() throws IOException, BlobClient would be left inclosed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message