diff --git a/src/backend/distributed/metadata/metadata_sync.c b/src/backend/distributed/metadata/metadata_sync.c index 5bd6c062f..3cf6c8719 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); }