Skip to content

Commit ca021ea

Browse files
committed
Merge 8.0 -> trunk
2 parents 30ed48a + d97437d commit ca021ea

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

storage/ndb/plugin/ha_ndbcluster_binlog.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5670,6 +5670,7 @@ bool ndbcluster_binlog_check_table_async(const std::string &db_name,
56705670
// Never check util tables which are managed by the Ndb_binlog_thread
56715671
// NOTE! The other tables are filtered elsewhere but ndb_apply_status is
56725672
// special since it's not hidden.
5673+
assert(false);
56735674
return false;
56745675
}
56755676

storage/ndb/plugin/ndb_metadata_change_monitor.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,13 @@ bool Ndb_metadata_change_monitor::detect_table_changes_in_schema(
291291
return false;
292292
}
293293

294+
// Remove NDB utility table mysql.ndb_apply_status, it's managed
295+
// by the binlog thread but not marked as hidden in DD. It's masked in similar
296+
// way from the list of tables in NDB.
297+
if (schema_name == "mysql") {
298+
ndb_tables_in_DD.erase("ndb_apply_status");
299+
}
300+
294301
// Special case when all NDB tables belonging to a schema still exist in DD
295302
// but not in NDB
296303
if (ndb_tables_in_NDB.empty() && !ndb_tables_in_DD.empty()) {

0 commit comments

Comments
 (0)