Bug #121620 Querying ndbinfo reports error when executing DDL
Submitted: 26 Oct 21:44
Reporter: Jiyuan Li Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version: 9.3.0-cluster OS:Ubuntu (24.04)
Assigned to: CPU Architecture:Any

[26 Oct 21:44] Jiyuan Li
Description:
Querying ndbinfo reports error when executing DDL

How to repeat:
session 0 repeats following statements:
CREATE TABLE c (id INT PRIMARY KEY) ENGINE=NDB;
  DROP TABLE c;
session 1 repeats following statements:
SELECT COUNT(*)
  FROM ndbinfo.table_fragments tf
  JOIN ndbinfo.dictionary_tables dt
    ON dt.table_id = tf.table_id;

then an error message showed: 
ERROR 1030 (HY000): Got error 122 -
  'Internal (unspecified) error in handler' from storage engine