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

getLastSequenceId always returns -1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.9
    • 1.0.0, 0.98.10, 1.1.0
    • wal
    • None
    • Reviewed

    Description

      When addressing HBASE-12405 I found that LastSequenceId.getLastSequenceId always returns -1, then I found that we use encodedRegionName when calling this method. But when we doing regionServerReport, we use regionName to report to HMaster(see the code in HRegionServer.createRegionLoad).

      We need to fix this, as seems we will disable distributed log replay in 0.98 by default?

      Attachments

        1. HBASE-12715_0.98_1.patch
          9 kB
          Duo Zhang
        2. HBASE-12715_0.98.patch
          9 kB
          Duo Zhang
        3. HBASE-12715_1.patch
          11 kB
          Duo Zhang
        4. HBASE-12715_2.patch
          11 kB
          Duo Zhang
        5. HBASE-12715.patch
          10 kB
          Duo Zhang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: