mirror of https://github.com/citusdata/citus.git
Update multiple table integration sync
parent
299043dfaa
commit
1383c442ea
|
@ -895,6 +895,7 @@ SetUpDistributedTableWithDependencies(WorkerNode *newWorkerNode)
|
|||
PropagateNodeWideObjects(newWorkerNode);
|
||||
ReplicateAllDependenciesToNode(newWorkerNode->workerName,
|
||||
newWorkerNode->workerPort);
|
||||
SetUpMultipleDistributedTableIntegrations(newWorkerNode);
|
||||
}
|
||||
|
||||
if (ReplicateReferenceTablesOnActivate)
|
||||
|
@ -1208,7 +1209,6 @@ ActivateNode(char *nodeName, int nodePort)
|
|||
}
|
||||
|
||||
SetUpDistributedTableWithDependencies(workerNode);
|
||||
SetUpMultipleDistributedTableIntegrations(workerNode);
|
||||
|
||||
if (syncMetadata)
|
||||
{
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -79,7 +79,6 @@ SELECT master_get_active_worker_nodes();
|
|||
SELECT citus_disable_node('localhost.noexist', 2345);
|
||||
|
||||
-- drop the table without leaving a shard placement behind (messes up other tests)
|
||||
-- TODO: Replication ref table multiple times
|
||||
SELECT master_activate_node('localhost', :worker_2_port);
|
||||
|
||||
DROP TABLE test_reference_table, cluster_management_test;
|
||||
|
|
|
@ -4,10 +4,6 @@ SET citus.shard_count TO 4;
|
|||
SET citus.shard_replication_factor TO 1;
|
||||
SET citus.next_shard_id TO 90630500;
|
||||
|
||||
table pg_dist_node;
|
||||
table pg_dist_partition;
|
||||
\d
|
||||
|
||||
-- Ensure tuple data in explain analyze output is the same on all PG versions
|
||||
SET citus.enable_binary_protocol = TRUE;
|
||||
|
||||
|
@ -82,10 +78,8 @@ SELECT 1 FROM master_remove_node('localhost', :worker_1_port);
|
|||
SELECT 1 FROM citus_set_coordinator_host('127.0.0.1');
|
||||
|
||||
-- adding workers with specific IP is ok now
|
||||
set citus.log_remote_commands to true;
|
||||
SELECT 1 FROM master_add_node('127.0.0.1', :worker_1_port);
|
||||
SELECT 1 FROM master_remove_node('127.0.0.1', :worker_1_port);
|
||||
reset citus.log_remote_commands;
|
||||
|
||||
-- set the coordinator host back to localhost for the remainder of tests
|
||||
SELECT 1 FROM citus_set_coordinator_host('localhost');
|
||||
|
|
Loading…
Reference in New Issue