[
https://issues.apache.org/jira/browse/PHOENIX-6058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kadir OZDEMIR updated PHOENIX-6058:
-----------------------------------
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. (was:
IndexTool does two types of verification, verifying the latest row versions,
and verifying all row versions within the maxLoopback 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 is not enabled, IndexTool may report missing or invalid index rows
by doing deep verification. )
> When maxLookback is not enabled, IndexTool should not do deep verification
> --------------------------------------------------------------------------
>
> Key: PHOENIX-6058
> URL: https://issues.apache.org/jira/browse/PHOENIX-6058
> Project: Phoenix
> Issue Type: Bug
> Reporter: Kadir OZDEMIR
> Assignee: Kadir OZDEMIR
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)