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

Clear INDEX_DISABLED_TIMESTAMP and disable index on compaction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.12.0
    • None

    Description

      To guard against a compaction occurring (which would potentially clear delete markers and puts that the partial index rebuild process counts on to properly catch up an index with the data table), we should clear the INDEX_DISABLED_TIMESTAMP and mark the index as disabled. This could be done in the post compaction coprocessor hook. At this point, a manual rebuild of the index would be required.

      Attachments

        1. PHOENIX-3953.patch
          15 kB
          James R. Taylor
        2. PHOENIX-3953_v2.patch
          8 kB
          James R. Taylor
        3. PHOENIX-3953_addendum1.patch
          15 kB
          James R. Taylor
        4. PHOENIX-3953_addendum2.patch
          22 kB
          James R. Taylor
        5. PHOENIX-3953_4.x-HBase-0.98_addendum2.patch
          23 kB
          James R. Taylor
        6. PHOENIX-3953_addendum2_v2.patch
          22 kB
          James R. Taylor

        Issue Links

          Activity

            People

              jamestaylor James R. Taylor
              jamestaylor James R. Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: