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

Disallow bulk loading into non-empty tables with global secondary indexes

    XMLWordPrintableJSON

Details

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

    Description

      It is very easy to end up with inconsistent indexes when bulk loading data into non-empty tables with global secondary indexes.

      Checking if the table is empty, and refusing to do the bulk load if it is not, unless a sufficiently scary override like --corruptindexes is also provided would probably reduce the risk.

      We should also check if the same problem exists for local indexes.

      Attachments

        Issue Links

          Activity

            People

              richardantal Richárd Antal
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: