mirror of https://github.com/citusdata/citus.git
Update should sync check
src/backend/distributed/test/distributed_intermediate_results-29ca979d.o.tmpvelioglu/wo_seq_test_1
parent
f509cd6660
commit
09cfb24b16
|
@ -404,14 +404,6 @@ ShouldSyncTableMetadata(Oid relationId)
|
||||||
bool citusTableWithNoDistKey =
|
bool citusTableWithNoDistKey =
|
||||||
IsCitusTableTypeCacheEntry(tableEntry, CITUS_TABLE_WITH_NO_DIST_KEY);
|
IsCitusTableTypeCacheEntry(tableEntry, CITUS_TABLE_WITH_NO_DIST_KEY);
|
||||||
|
|
||||||
/*
|
|
||||||
* We shouldn't sync metadata for distributed tables created with master_create_distributed_table
|
|
||||||
*/
|
|
||||||
if (hashDistributed && tableEntry->colocationId == INVALID_COLOCATION_ID)
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return ShouldSyncTableMetadataInternal(hashDistributed, citusTableWithNoDistKey);
|
return ShouldSyncTableMetadataInternal(hashDistributed, citusTableWithNoDistKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -497,6 +497,8 @@ SELECT shardid, nodename, nodeport
|
||||||
WHERE logicalrelid = 'numbers_append'::regclass order by placementid;
|
WHERE logicalrelid = 'numbers_append'::regclass order by placementid;
|
||||||
|
|
||||||
-- add the node back
|
-- add the node back
|
||||||
|
set citus.log_remote_commands to true;
|
||||||
|
set citus.worker_min_messages to debug4;
|
||||||
SELECT 1 FROM master_activate_node('localhost', :worker_1_port);
|
SELECT 1 FROM master_activate_node('localhost', :worker_1_port);
|
||||||
RESET client_min_messages;
|
RESET client_min_messages;
|
||||||
RESET citus.shard_replication_factor;
|
RESET citus.shard_replication_factor;
|
||||||
|
|
Loading…
Reference in New Issue