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

Detect and fix corrupted local index region during compaction

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Issue deployment