| Bug #73966 | NDB_RESTORE CORES ON BUILT-IN PRIMARY KEY + STAGING BLOB CONVERSIONS ON SPARC | ||
|---|---|---|---|
| Submitted: | 18 Sep 2014 10:37 | Modified: | 21 Nov 2014 12:24 |
| Reporter: | Priyanka Sangam | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
| Version: | 7.1 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[18 Sep 2014 10:37]
Priyanka Sangam
[21 Nov 2014 12:24]
Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.
Documented fix as follows in the NDB 7.1.34, 7.2.19, and 7.3.8 changelogs:
ndb_restore failed while restoring a table which contained both
a built-in conversion on the primary key and a staging
conversion on a TEXT column.
During staging, a BLOB table is created with a primary key
column of the target type. However, a conversion function was
not provided to convert the primary key values before loading
them into the staging blob table, which resulted in corrupted
primary key values in the staging BLOB table. While moving data
from the staging table to the target table, the BLOB read failed
because it could not find the primary key in the BLOB table.
Now all BLOB tables are checked to see whether there are
conversions on primary keys of their main tables. This check is
done after all the main tables are processed, so that conversion
functions and parameters have already been set for the main
tables. Any conversion functions and parameters used for the
primary key in the main table are now duplicated in the BLOB
table.
Closed.
If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at
http://dev.mysql.com/doc/en/installing-source.html
