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

lastFlushSeqId has been updated wrongly during region open

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.99.0, 0.98.3
    • Fix Version/s: 0.99.0, 0.98.4
    • Component/s: MTTR
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In HRegion this.lastFlushSeqId is updated when opening a region which is wrong and will cause issue in distributedLogReplay recovery mode(not in log splitting mode) because its value is bumped up for log replay mode.

      This may cause data loss issue when we recover a region in distributedLogReplay mode while no flush for the region because no edits to be replayed. Later the region move to another region server and then future recovery will have issue because the large flush sequence Id value.

        Attachments

        1. hbase-11430.patch
          2 kB
          Jeffrey Zhong

          Activity

            People

            • Assignee:
              jeffreyz Jeffrey Zhong
              Reporter:
              jeffreyz Jeffrey Zhong
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: