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

When maxLookback is not enabled, IndexTool should not do deep verification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 5.1.0, 4.16.0
    • None
    • None

    Description

      IndexTool does two types of verification, verifying the latest row versions, and verifying all row versions within the maxLookback windows. Verifying just the latest version can be called shallow verification whereas verifying all versions can be called deep verification. The maxLookback feature preserves all row versions including delete markers within the maxLookback window. This allows IndexTool to compare all versions of data rows with all versions of the index rows within the window. However, due to a bug, when the maxLookback feature is not enabled, i.e., the maxLookback window is set to zero, IndexTool assumes the window size is infinite and thus does deep verification. Since some versions of the index rows can be removed by compaction independently if the maxLookback feature is not enabled, IndexTool may report missing or invalid index rows by doing deep verification.

      Attachments

        1. PHOENIX-6058.4.x.001.patch
          2 kB
          Kadir OZDEMIR
        2. PHOENIX-6058.4.x.002.patch
          5 kB
          Kadir OZDEMIR
        3. PHOENIX-6058.master.001.patch
          5 kB
          Kadir OZDEMIR

        Issue Links

          Activity

            People

              kozdemir Kadir OZDEMIR
              kozdemir Kadir OZDEMIR
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: