From 1f8360722424dbef27282c2a0ea8bf835fdcd2f2 Mon Sep 17 00:00:00 2001 From: Burak Velioglu Date: Mon, 17 Jan 2022 17:13:27 +0300 Subject: [PATCH] Comment out master_create_dist_table check --- src/backend/distributed/metadata/metadata_sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/distributed/metadata/metadata_sync.c b/src/backend/distributed/metadata/metadata_sync.c index 3cf6c8719..5bd6c062f 100644 --- a/src/backend/distributed/metadata/metadata_sync.c +++ b/src/backend/distributed/metadata/metadata_sync.c @@ -392,10 +392,10 @@ ShouldSyncTableMetadata(Oid relationId) /* * We shouldn't sync metadata for distributed tables created with master_create_distributed_table */ - if (hashDistributed && tableEntry->colocationId == INVALID_COLOCATION_ID) + /* if (hashDistributed && tableEntry->colocationId == INVALID_COLOCATION_ID) { return false; - } + } */ return ShouldSyncTableMetadataInternal(hashDistributed, citusTableWithNoDistKey); }