diff --git a/src/backend/distributed/metadata/metadata_cache.c b/src/backend/distributed/metadata/metadata_cache.c index 2dd26c776..88da8b0cf 100644 --- a/src/backend/distributed/metadata/metadata_cache.c +++ b/src/backend/distributed/metadata/metadata_cache.c @@ -3697,6 +3697,7 @@ ResetCitusTableCacheEntry(CitusTableCacheEntry *cacheEntry) cacheEntry->hasUninitializedShardInterval = false; cacheEntry->hasUniformHashDistribution = false; cacheEntry->hasOverlappingShardInterval = false; + cacheEntry->autoConverted = false; pfree(cacheEntry); } diff --git a/src/include/distributed/metadata_cache.h b/src/include/distributed/metadata_cache.h index 89bc094a7..2e24171f8 100644 --- a/src/include/distributed/metadata_cache.h +++ b/src/include/distributed/metadata_cache.h @@ -63,7 +63,7 @@ typedef struct char partitionMethod; uint32 colocationId; char replicationModel; - bool autoConverted; + bool autoConverted; /* table auto-added to metadata, valid for citus local tables */ /* pg_dist_shard metadata (variable-length ShardInterval array) for this table */ int shardIntervalArrayLength;