Daniel Dai created HIVE-17497: --------------------------------- Summary: Constraint import may fail during incremental replication Key: HIVE-17497 URL: https://issues.apache.org/jira/browse/HIVE-17497 Project: Hive Issue Type: Bug Components: repl Reporter: Daniel Dai Assignee: Daniel Dai
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 -- This message was sent by Atlassian JIRA (v6.4.14#64029)