Update should sync check

src/backend/distributed/test/distributed_intermediate_results-29ca979d.o.tmp
velioglu/wo_seq_test_1
Burak Velioglu 2022-01-20 00:13:58 +03:00
parent f509cd6660
commit 09cfb24b16
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
2 changed files with 2 additions and 8 deletions

View File

@ -404,14 +404,6 @@ ShouldSyncTableMetadata(Oid relationId)
bool citusTableWithNoDistKey =
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);
}

View File

@ -497,6 +497,8 @@ SELECT shardid, nodename, nodeport
WHERE logicalrelid = 'numbers_append'::regclass order by placementid;
-- 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);
RESET client_min_messages;
RESET citus.shard_replication_factor;