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/20 07:10:00 UTC

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

     [ https://issues.apache.org/jira/browse/PHOENIX-5736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kadir OZDEMIR resolved PHOENIX-5736.
------------------------------------
    Resolution: Not A Problem

> 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: 5.0.0
>            Reporter: Kadir OZDEMIR
>            Priority: Critical
>         Attachments: skipScanTest.txt
>
>
> 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)