Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12614

Potentially unclosed StoreFile(s) in DefaultCompactor#compact()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.98.9, 0.99.2
    • None
    • None
    • Reviewed

    Description

      Here is the related code (around line 129):

              for (StoreFile f : readersToClose) {
                f.closeReader(true);
              }
      

      If any closeReader() call throws IOException, the remaining StoreFile(s) would not be closed.

      Attachments

        1. 12614-v1.txt
          1 kB
          Ted Yu
        2. 12614-v2.txt
          2 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: