Bug #80978 Could not load ndb_memcache_metadata.sql file
Submitted: 6 Apr 2016 12:21 Modified: 2 May 2016 16:22
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Memcached Severity:S2 (Serious)
Version:7.5.2 OS:Any
Assigned to: CPU Architecture:Any

[6 Apr 2016 12:21] Magnus Blåudd
Description:
mtr.pl fails to run all tests due to "Could not load ndb_memcache_metadata.sql file" error,

The error looks like:
ndb_memcache.type_numeric                w4 [ pass ]    301
ndb_memcache.type_signed                 w4 [ pass ]    206
ndb_memcache.type_unsigned               w2 [ pass ]   3331
ndb_memcache.unique_idx                  w2 [ pass ]    224
worker[4] mysql-test-run: *** ERROR: Could not load ndb_memcache_metadata.sql file
worker[2] mysql-test-run: *** ERROR: Could not load ndb_memcache_metadata.sql file

Only  17  of 19 completed.
mysql-test-run: *** ERROR: Not all tests completed

Looking in mtr.pl this error is printed when "mysql < ndb_memcache_metadata.sql" fails, the errors are redirected to var/log/memcache_config.log and says: 

7.5)$ cat bld/mysql-test/var/2/log/memcache_config.log 
ERROR 1062 (23000) at line 249: Duplicate entry 'ndbmemcache-1.2' for key 'PRIMARY'
safe_process[5917]: Child process: 5918, exit: 1

How to repeat:
Occurs on valgrind host in 7.5 but also reproducable locally with "./mtr.pl --suite=ndb_memcache"

Suggested fix:
.
[2 May 2016 16:22] Jon Stephens
Fixed in NDB 7.5.2. 

Test case only, no user-facing changes to document. 

Closed.