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

Detect and fix corrupted local index region during compaction

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.8.0
    • Fix Version/s: 4.10.0
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: