Description
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-6601regression)
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.
Attachments
Issue Links
- is caused by
-
PHOENIX-6601 Fix IndexTools bugs with namespace mapping
- Resolved
- is related to
-
PHOENIX-6617 IndexRegionObserver should create mutations for the transforming table
- Resolved
-
PHOENIX-5375 Building indexes from a snapshot image of a data table leads to incorrect timestamps
- Open
-
PHOENIX-5376 Bulk loading data tables with indexes leads to index rows with incorrect timestamps
- Open
-
PHOENIX-6386 Bulkload generates unverified index rows
- Resolved
- links to