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

lastFlushSeqId has been updated wrongly during region open

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.99.0, 0.98.3
    • 0.99.0, 0.98.4
    • MTTR
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: