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

        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: