Hi,
One on our customer is using GG to replicate data and he is facing ORA-00001 : Unique Constraint violated error while replicating data in target.
Find the details below:
1. customer inserted a record in source system -> GG replicated this record as insert by setting flag = 'I' (extra column on target)
2. customer deleted above record in source system -> GG replicated this record as update by setting flag = 'D' .. on target we have soft delete and record in not deleted exactly instead it just set flag as D but PK is same as source.
3. customer inserted new record in source system with same PK similar to deleted record in step2 -> Now GG replication is failing with 'ORA-00001 : Unique Constraint violated error '
Any solution/suggestions on this issue? Does GG reads data in target table before creating insert or update stmt?
Thanks in Advance.
Regards,
Rajendra