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

DefaultMobStoreCompactor should delete MobStoreFile cleanly when compaction is failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-3
    • 2.6.0, 3.0.0-alpha-4, 2.5.2
    • mob
    • None

    Description

      When compaction is failed, DefaultMobStoreCompactor.performCompaction deletes the MobStoreFile which is writing, but for OptimizedMode, DefaultMobStoreCompactor.performCompaction may create multiple MobStoreFiles, if compaction is failed, all theses MobStoreFiles are useless and should be deleted altogether. We should better not depend on RSMobFileCleanerChore to clean them because it is mainly used for archive already compacted MobStoreFiles.

      Attachments

        Activity

          People

            comnetwork chenglei
            comnetwork chenglei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: