Duplicate Key Violation While Restoring Data With ndb_restore: Permanent: 893: Constraint violation e.g. duplicate value in unique index (Doc ID 2058573.1)

Last updated on MARCH 08, 2017

Applies to:

MySQL Cluster - Version 7.1 to 7.4 [Release 7.1 to 7.4]
Information in this document applies to any platform.

Symptoms

When restoring a backup with ndb_restore, in MySQL Cluster 7.2 and earlier, or 7.3.10 and earlier, or 7.4.7 and earlier, duplicate key errors on unique secondary indexes occur:

 

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot restore data on tables with unique secondary indexes.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms