cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Stepura (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6380) SSTableReader.loadSummary may leave an open file
Date Wed, 20 Nov 2013 05:27:24 GMT

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

Mime
View raw message