Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6380

SSTableReader.loadSummary may leave an open file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.0.3
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low

      Description

      When 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

        Attachments

        1. CASSANDRA-2.0-6380.patch
          1 kB
          Mikhail Stepura

          Activity

            People

            • Assignee:
              mishail Mikhail Stepura
              Reporter:
              mishail Mikhail Stepura
              Authors:
              Mikhail Stepura
              Reviewers:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: