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

merge tool expects regions all have different sequence ids

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.95.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently merging two regions, the merge tool will compare their sequence ids. If same, it will decrement one. It needs to do this because on region open, files are keyed by their sequenceid; if two the same, one will erase the other.

      Well, with the move to the aggregating hfile format, the sequenceid is written when the file is created and its no longer written into an aside file but as metadata on to the end of the file. Changing the sequenceid is no longer an option.

      This issue is about figuring a solution for the rare case where two store files have same sequence id AND we want to merge the two regions.

        Attachments

        1. failure.log
          14 kB
          Jean-Marc Spaggiari
        2. HBASE-1212.patch
          1 kB
          Jean-Marc Spaggiari
        3. HBASE-1212-v2.patch
          1 kB
          Jean-Marc Spaggiari
        4. HBASE-1212-v3-trunk.patch
          1 kB
          Jean-Marc Spaggiari

          Issue Links

            Activity

              People

              • Assignee:
                jmspaggi Jean-Marc Spaggiari
                Reporter:
                stack stack
              • Votes:
                3 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: