Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3609

Detect and fix corrupted local index region during compaction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.8.0
    • 4.10.0
    • None
    • None

    Description

      Local index regions can be corrupted when hbck is run to fix the overlap regions and directories are simply merged for them to create a single region.

      we can detect this during compaction by looking at the start keys of each store files and comparing prefix with region start key. if local index for the region is found inconsistent, we will read the store files of corresponding data region and recreate a data.

      Attachments

        1. PHOENIX-3609.patch
          21 kB
          Ankit Singhal
        2. PHOENIX-3609_v1.patch
          28 kB
          Ankit Singhal

        Issue Links

          Activity

            People

              ankit@apache.org Ankit Singhal
              ankit@apache.org Ankit Singhal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: