Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6611

Fix IndexTool -snap option and set VERIFIED in PhoenixIndexImportDirectReducer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.2.0
    • 4.17.0, 5.2.0, 4.16.2, 5.1.3
    • core
    • None

    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-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.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: