[
https://issues.apache.org/jira/browse/PHOENIX-5807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth updated PHOENIX-5807:
---------------------------------
Fix Version/s: 5.1.0
> Index rows without empty column should be treated as unverified
> ---------------------------------------------------------------
>
> Key: PHOENIX-5807
> URL: https://issues.apache.org/jira/browse/PHOENIX-5807
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 5.0.0, 4.14.3
> Reporter: Kadir OZDEMIR
> Assignee: Kadir OZDEMIR
> Priority: Major
> Fix For: 5.1.0
>
> Attachments: PHOENIX-5807.4.x.001.patch
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> In the new index design, an index row is composed of cells with the same
> timestamp and the empty column cell holds the verify status of the row.
> However, it is possible that the empty column of an index row can be
> compacted away if the row is made unverified due to a failed data table
> overwrite. This failed overwrite will make the existing verified row index
> row unverified by overwriting the existing row with the empty column cell
> with the unverified status. If this row is not scanned before the next major
> compaction, the empty column cell of the overwritten index row can be removed
> by the compaction since there will be more than one version of it. If this
> row is retrieved via an SCN connection, then the returned row will not
> include the empty column cell. Not having empty column is treated as an
> exception currently. Instead, the row without an empty column should be
> treated as an unverified row and it should be repaired.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)