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

Edits Log recovery losing data across column families

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.89.20100924, 0.92.0
    • 0.89-fb, 0.92.0, 0.94.0
    • None
    • None

    Description

      There is a data loss happening (for some of the column families) when we do the replay logs.

      The bug seems to be from the fact that during replay-logs we only choose to replay
      the logs from the maximumSequenceID across ALL the stores. This is wrong. If a
      column family is ahead of others (because the crash happened before all the column
      families were flushed), then we lose data for the column families that have not yet
      caught up.

      The correct logic for replay should begin the replay from the minimum across the
      maximum in each store.

      Attachments

        1. 4645-v9.diff
          8 kB
          Amitanand Aiyer

        Activity

          People

            amitanand Amitanand Aiyer
            amitanand Amitanand Aiyer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: