Bug #57782 | ndb_restore does not warn of possible duplicate keys when using UNIQUE indexes | ||
---|---|---|---|
Submitted: | 27 Oct 2010 19:32 | Modified: | 19 Jan 2016 11:20 |
Reporter: | Daniel Smythe | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
Version: | mysql-5.1-telco-7.1 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | duplicate key, ndb_restore 7.1.6, unique |
[27 Oct 2010 19:32]
Daniel Smythe
[9 Oct 2015 16:57]
Jon Stephens
Documented fix in the NDB 7.3.11 and 7.4.8 changelogs as follows: When ndb_restore was run without --disable-indexes or --rebuild-indexes on a table having a unique index, it was possible for rows to be restored in an order that resulted in duplicate values, causing it to fail with duplicate key errors. Running ndb_restore on such a table now requires using at least one of these options; failing to do so now results in an error. Closed.
[9 Oct 2015 17:17]
Jon Stephens
Also noted the change in the program's description in the NDB 7.3/7.4 documentation.
[19 Jan 2016 11:20]
Jon Stephens
This fix was reverted in NDB 7.3.12 and 7.4.9.