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

Delete out of TTL store files before compaction selection

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.0
    • None
    • None
    • Reviewed
    • set hbase.store.delete.expired.storefile as true to enable the expired store file deletion

    Description

      Currently, HBase deletes the out of TTL store files after compaction. We can change the sequence to delete the out of TTL store files before selecting store files for compactions.
      In this way, HBase can keep deleting the old invalid store files without compaction, and also prevent from unnecessary compactions since the out of TTL store files will be deleted before the compaction selection.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--D1311.1.patch
          5 kB
          Phabricator
        2. ASF.LICENSE.NOT.GRANTED--D1311.2.patch
          5 kB
          Phabricator
        3. ASF.LICENSE.NOT.GRANTED--D1311.3.patch
          5 kB
          Phabricator
        4. ASF.LICENSE.NOT.GRANTED--D1311.4.patch
          7 kB
          Phabricator
        5. ASF.LICENSE.NOT.GRANTED--D1311.5.patch
          8 kB
          Phabricator
        6. ASF.LICENSE.NOT.GRANTED--D1311.5.patch
          8 kB
          Phabricator
        7. hbase-5199.patch
          12 kB
          Liyin Tang

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            liyin Liyin Tang
            liyin Liyin Tang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment