You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Kadir OZDEMIR (Jira)" <ji...@apache.org> on 2020/02/18 22:43:00 UTC

[jira] [Created] (PHOENIX-5736) Mutable global index rebuilds are incorrect after PHOENIX-5494

Kadir OZDEMIR created PHOENIX-5736:
--------------------------------------

             Summary: Mutable global index rebuilds are incorrect after PHOENIX-5494
                 Key: PHOENIX-5736
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5736
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.14.3, 5.0.0, 4.15.0
            Reporter: Kadir OZDEMIR


PHOENIX-5494 uses skip scans to improve write performance for tables with indexes. Before this jira, a separate scanner was opened for each data table mutation to read all versions and delete markers of for the row to be mutated. With this jira, a single scanner is opened using a raw scan with a skip scan filter to read all versions and delete markers of the all rows in a batch. Reading existing data table rows is required to generate index updates.

However, I have discovered that a raw scan with a skip scan filter does not return all raw versions. This means that after PHOENIX-5494 index rebuilds for global indexes will not be correct. 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)