Rename copy_configuration () to witness_copy_node_records()

As it's witness-specific. Per suggestion from Martín.
This commit is contained in:
Ian Barwick
2016-04-01 08:44:23 +09:00
parent de5908c122
commit dd6ea1cd77
4 changed files with 10 additions and 10 deletions

View File

@@ -488,7 +488,7 @@ main(int argc, char **argv)
if(sync_repl_nodes_elapsed >= local_options.witness_repl_nodes_sync_interval_secs)
{
log_debug(_("Resyncing repl_nodes table\n"));
copy_configuration(master_conn, my_local_conn, local_options.cluster_name);
witness_copy_node_records(master_conn, my_local_conn, local_options.cluster_name);
sync_repl_nodes_elapsed = 0;
}
}
@@ -600,7 +600,7 @@ witness_monitor(void)
* XXX it would be neat to be able to handle this with e.g. table-based
* logical replication
*/
copy_configuration(master_conn, my_local_conn, local_options.cluster_name);
witness_copy_node_records(master_conn, my_local_conn, local_options.cluster_name);
break;
}