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

Fix WAL splitting when region has moved multiple times




      Currently WAL splitting is broken when a region has been opened multiple times in recent minutes.

      Region open and region close write event markers to the wal. These markers should have the sequence id in them. However it is currently getting 1. That means that if a region has moved multiple times in the last few mins then multiple split log workers will try and create the recovered edits file for sequence id 1. One of the workers will fail and on failing they will delete the recovered edits. Causing all split wal attempts to fail.

      We need to:

      1. make sure that close get the correct sequence id for open.
      2. Filter all region events from recovered edits

      It appears that the close event with a sequence id of one is coming from region warm up.


        1. HBASE-15441.patch
          2 kB
          Elliott Neil Clark
        2. HBASE-15441-v1.patch
          4 kB
          Elliott Neil Clark
        3. HBASE-15441-v2.patch
          4 kB
          Elliott Neil Clark
        4. HBASE-15441-v3.patch
          4 kB
          Elliott Neil Clark
        5. HBASE-15441-v4.patch
          5 kB
          Elliott Neil Clark
        6. HBASE-15441-v5.patch
          17 kB
          Elliott Neil Clark



            • Assignee:
              eclark Elliott Neil Clark
              eclark Elliott Neil Clark
            • Votes:
              0 Vote for this issue
              8 Start watching this issue


              • Created: