Bug #45462 "Waiting for ndbcluster global schema lock" on an empty cluster
| Submitted: | 11 Jun 2009 21:29 | Modified: | 19 Jan 2016 18:19 |
|---|---|---|---|
| Reporter: | David Ashman | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
| Version: | mysql-5.1-telco-6.3 | OS: | Linux (RHEL5) |
| Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
| Tags: | mysql-5.1.32 ndb-6.3.23 | ||
[11 Jun 2009 21:29]
David Ashman
[15 Jun 2009 13:22]
Jørgen Austvik
Thanks for the report! Could you please send us the logs of the mysqld that is hanging?
[15 Jun 2009 13:22]
Jørgen Austvik
...and the cluster log and the data node logs.
[15 Jun 2009 18:19]
David Ashman
The data node logs may not be useful, I wiped the FS on the data nodes at one point.
Attachment: 45462-LogFiles.zip (, text), 83.76 KiB.
[16 Jun 2009 1:44]
David Ashman
We managed to get the cluster up and running by reducing the number of nodes. With 44 data nodes (22x2, 1 less than the initial setup) and 84 API nodes (21x4, 3 less than the initial setup) the cluster works fine. If I add a 22nd API node server (84 to 88 API nodes), the global schema lock occurs. Shutting down that server frees up the lock. I used three different servers as the 22nd node and the same problem occurs so I do still believe it's a bug somewhere and not hardware related, possibly related to having a large number of a nodes?
[17 Sep 2009 11:49]
Gustaf Thorslund
David, Could you please also provide your my.cnf for the SQL nodes? /Gustaf
[17 Sep 2009 16:33]
David Ashman
I know I've added max_connections, table_open_cache, and skip-name-resolve since we had the issue, but I'm pretty sure the rest is exactly what was there before: [mysqld] socket=/var/lib/mysql/mysql.sock datadir=/var/lib/mysql federated ndbcluster ndb-connectstring=ndb-mgmt01,ndb-mgmt02 ndb_force_send=1 ndb_optimized_node_selection=3 ndb_use_exact_count=0 engine_condition_pushdown=1 ndb_index_stat_enable=1 max_connections=1000 slow_query_log=1 skip-name-resolve table_open_cache=1024 [mysql_cluster] ndb-connectstring=ndb-mgmt01,ndb-mgmt02 datadir=/usr/share [mysqld_safe] log-error=/var/lib/mysql/mysqld.err pid-file=/var/run/mysqld/mysqld.pid language=/usr/share/mysql/english
[19 Jan 2016 13:58]
MySQL Verification Team
Hi, Thanks for the report. I'm setting this to closed as this can't be reproduced on any of the modern releases of the cluster. kind regards Bogdan Kecman
[19 Jan 2016 18:19]
David Ashman
Were you able to test with 46-48 data nodes? We were never able to reproduce the problem with 44 or less nodes, but every attempt we tried with 46 or 48 nodes had the same issue. We tried with multiple versions in the 6.3 line and an early 7.0 version as well. We no longer have the hardware to test again on our end with that many nodes, so I'm not sure if the issue persists in later versions or if it was fixed at some point. If it's fixed, I'm happy, just wanted to make sure the test case included the node count since that's the only time we ran into it.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.044 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.