You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2022/01/05 12:20:00 UTC

[jira] [Resolved] (PHOENIX-6611) Fix IndexTool -snap option and set VERIFIED in PhoenixIndexImportDirectReducer

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

Istvan Toth resolved PHOENIX-6611.
----------------------------------
    Fix Version/s: 5.2.0
                   4.16.2
                   5.1.3
       Resolution: Fixed

> Fix IndexTool -snap option and set VERIFIED in PhoenixIndexImportDirectReducer  
> --------------------------------------------------------------------------------
>
>                 Key: PHOENIX-6611
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6611
>             Project: Phoenix
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 5.2.0
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>             Fix For: 5.2.0, 4.16.2, 5.1.3
>
>
> While fixing a trivial problem I introduced in PHOENIX-6601, I have expanded the ITs, and found a several bugs with IndexTool.
> * Indexes generated by PhoenixIndexImportDirectReducer do not handle rows modified after the index table was created. (related to PHOENIX-5375, PHOENIX-5376)
> * Global secondary index cells generated by PhoenixIndexImportDirectReducer do not have the VERIFIED flag set (similar to PHOENIX-6386)
> * IndexTool cannot be run on the same table multiple  withh -snapshot, unless the snapshot is manually deleted. 
> * Global secondary index cells on transactional tables do not have the VERIFIED flag set.
> * Invalid snapshot name is generated for snapshot with namespace mapping enabled. (PHOENIX-6601 regression)
> Some more test issues:
> * IndexToolIT is not run with snapshots, or with namespace mapping enabled.
> * The obsolete directApi option is all over the test code.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)