You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mikhail Stepura (JIRA)" <ji...@apache.org> on 2013/11/20 06:27:24 UTC

[jira] [Updated] (CASSANDRA-6380) SSTableReader.loadSummary may leave an open file

     [ https://issues.apache.org/jira/browse/CASSANDRA-6380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Stepura updated CASSANDRA-6380:
---------------------------------------

    Attachment: CASSANDRA-2.0-6380.patch

Attaching the patch to close the stream to unlock the file

> SSTableReader.loadSummary may leave an open file
> ------------------------------------------------
>
>                 Key: CASSANDRA-6380
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6380
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Mikhail Stepura
>            Assignee: Mikhail Stepura
>            Priority: Minor
>         Attachments: CASSANDRA-2.0-6380.patch
>
>
> {{SSTableReader.loadSummary}} catches _IOException_ it tries to delete {{summariesFile}}, but the {{iStream}} is still open and the file is locked, so {{FileUtils.deleteWithConfirm}} fails, at least on Windows



--
This message was sent by Atlassian JIRA
(v6.1#6144)