HBase
  1. HBase
  2. HBASE-2231

Compaction events should be written to HLog

    Details

    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

            People

            • Assignee:
              stack
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development