Hello,
I am using two NDB clusters, and setup a geo-redundancy between these two clusters.
In the mgmt host, I startup ndb_mgmd and mysqld (with option '--log-bin')
Int the ndb hosts, I startup ndbd and mysqld (without option '--log-bin')
However, I founf that the variable 'log_bin' is OFF. And the replication between two cluster still work.
I wonder why the variable 'log_bin' is OFF, it should be ON.
mysql> show global variables like '%bin%';
+-----------------------------------------+----------------------+
| Variable_name | Value |
+-----------------------------------------+----------------------+
| binlog_cache_size | 32768 |
| binlog_direct_non_transactional_updates | OFF |
| binlog_format | MIXED |
| log_bin | OFF |
| log_bin_trust_function_creators | OFF |
| log_bin_trust_routine_creators | OFF |
| log_bin_use_v1_row_events | ON |
| ndb_log_bin | ON |
| ndb_log_binlog_index | ON |
| ndb_report_thresh_binlog_epoch_slip | 3 |
| ndb_report_thresh_binlog_mem_usage | 10 |
| ndbinfo_database | ndbinfo |
| sql_log_bin | ON |
| sync_binlog | 0 |
+-----------------------------------------+----------------------+
Thanks
Alex
I am using two NDB clusters, and setup a geo-redundancy between these two clusters.
In the mgmt host, I startup ndb_mgmd and mysqld (with option '--log-bin')
Int the ndb hosts, I startup ndbd and mysqld (without option '--log-bin')
However, I founf that the variable 'log_bin' is OFF. And the replication between two cluster still work.
I wonder why the variable 'log_bin' is OFF, it should be ON.
mysql> show global variables like '%bin%';
+-----------------------------------------+----------------------+
| Variable_name | Value |
+-----------------------------------------+----------------------+
| binlog_cache_size | 32768 |
| binlog_direct_non_transactional_updates | OFF |
| binlog_format | MIXED |
| log_bin | OFF |
| log_bin_trust_function_creators | OFF |
| log_bin_trust_routine_creators | OFF |
| log_bin_use_v1_row_events | ON |
| ndb_log_bin | ON |
| ndb_log_binlog_index | ON |
| ndb_report_thresh_binlog_epoch_slip | 3 |
| ndb_report_thresh_binlog_mem_usage | 10 |
| ndbinfo_database | ndbinfo |
| sql_log_bin | ON |
| sync_binlog | 0 |
+-----------------------------------------+----------------------+
Thanks
Alex