[jira] [Created] (FLINK-3781) BlobClient may be left unclosed in BlobCache#deleteGlobal()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-3781) BlobClient may be left unclosed in BlobCache#deleteGlobal()

Shang Yuanchun (Jira)
Ted Yu created FLINK-3781:
-----------------------------

             Summary: 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)