Bug #46955 | Slave thread starting before cluster storage engine is ready on mysqld restart | ||
---|---|---|---|
Submitted: | 27 Aug 2009 13:46 | Modified: | 28 Oct 2009 17:03 |
Reporter: | Hartmut Holzgraefe | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Cluster: Replication | Severity: | S3 (Non-critical) |
Version: | mysql-5.1-telco-7.0 | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | 5.1.34-ndb-7.0.6-cluster-gpl |
[27 Aug 2009 13:46]
Hartmut Holzgraefe
[31 Aug 2009 11:22]
Hartmut Holzgraefe
How to reproduce: - create a master and a slave cluster and set up replication (1 replication channel is sufficient) - create 100 cluster tables on the master - check that the slave has replicated all those create table event - shut down the slave SQL node - insert a row into one of the cluster tables on the master - start the slave SQL node again => see how it tries to already apply replication events while the ndb tables are still read-only ...
[23 Oct 2009 14:03]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/87968 3026 Frazer Clement 2009-10-23 Bug#46955 Slave thread starting before cluster storage engine is ready on mysqld restart modified: mysql-test/include/have_multi_ndb.inc mysql-test/include/ndb_master-slave.inc mysql-test/include/ndb_master-slave_2ch.inc mysql-test/suite/ndb/my.cnf mysql-test/suite/ndb/t/ndb_discover_db.test mysql-test/suite/ndb_binlog/my.cnf mysql-test/suite/ndb_binlog/t/ndb_binlog_variants.cnf mysql-test/suite/ndb_team/my.cnf mysql-test/suite/rpl_ndb/my.cnf mysql-test/suite/rpl_ndb/t/disabled.def sql/ha_ndbcluster.cc sql/ha_ndbcluster_binlog.cc sql/mysql_priv.h sql/mysqld.cc sql/slave.cc
[27 Oct 2009 10:50]
Frazer Clement
Pushed to 6.2.19 6.3.28 7.0.9 7.1.0
[27 Oct 2009 13:32]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/88358 3034 Frazer Clement 2009-10-27 Bug#46955 : Extend fix to libmysqld modified: libmysqld/lib_sql.cc mysql-test/include/have_multi_ndb.inc
[28 Oct 2009 17:03]
Jon Stephens
This bug is a duplicate of BUG#40679, not the other way round.