Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17497

Constraint import may fail during incremental replication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • repl
    • None

    Description

      During bootstrap repl dump, we may double export constraint in both bootstrap dump and increment dump. Consider the following sequence:
      1. Get repl_id, dump table
      2. During dump, constraint is added
      3. This constraint will be in both bootstrap dump and incremental dump
      4. incremental repl_id will be newer, so the constraint will be loaded during incremental replication
      5. since constraint is already in bootstrap replication, we will have an exception

      Attachments

        Activity

          People

            daijy Daniel Dai
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: