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

Region sequence id may go backward after split or merge

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.0.0-beta-2, 2.0.0
    • None
    • None
    • Reviewed

    Description

      The problem is that, now we have markers which will be written to WAL but not in store file. For a normal region close, we will write a sequence id file under the region directory, and when opening we will use this as the open sequence id. But for split and merge, we do not copy the sequence id file to the newly generated regions so the sequence id may go backwards since when closing the region we will write flush marker and close marker into WAL...

      Attachments

        1. HBASE-20066-v4.patch
          48 kB
          Duo Zhang
        2. HBASE-20066-v3.patch
          44 kB
          Duo Zhang
        3. HBASE-20066-v2.patch
          39 kB
          Duo Zhang
        4. HBASE-20066-v1.patch
          43 kB
          Duo Zhang
        5. HBASE-20066.patch
          39 kB
          Duo Zhang

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: