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

Compaction events should be written to HLog

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      The sequence for a compaction should look like this:

      1. Compact region to "new" files
      2. Write a "Compacted Region" entry to the HLog
      3. Delete "old" files

      This deals with a case where the RS has paused between step 1 and 2 and the regions have since been reassigned.

      Attachments

        1. hbase-2231-testcase.txt
          14 kB
          Todd Lipcon
        2. hbase-2231.txt
          42 kB
          Todd Lipcon
        3. 2231-testcase-0.94.txt
          12 kB
          Ted Yu
        4. 2231v2.txt
          4 kB
          Michael Stack
        5. 2231-testcase_v2.txt
          8 kB
          Michael Stack
        6. 2231-testcase_v3.txt
          14 kB
          Michael Stack
        7. 2231v3.txt
          59 kB
          Michael Stack
        8. 2231v4.txt
          102 kB
          Michael Stack
        9. hbase-2231_v5.patch
          118 kB
          Enis Soztutar
        10. hbase-2231_v6.patch
          118 kB
          Enis Soztutar
        11. hbase-2231_v7.patch
          118 kB
          Enis Soztutar
        12. hbase-2231_v7.patch
          118 kB
          Enis Soztutar
        13. hbase-2231_v7-0.95.patch
          112 kB
          Enis Soztutar
        14. hbase-2231_v7-addendum.patch
          1 kB
          Enis Soztutar
        15. hbase-2231_v8-addendum.patch
          1 kB
          Michael Stack

        Issue Links

          Activity

            People

              stack Michael Stack
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: