Kadir OZDEMIR created PHOENIX-5807:
--------------------------------------

             Summary: 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: 4.14.3, 5.0.0
            Reporter: Kadir OZDEMIR
            Assignee: Kadir OZDEMIR


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)

Reply via email to