mirror of https://github.com/citusdata/citus.git
Address reviews
parent
46b4b55c7b
commit
8a5c8c449f
|
@ -367,7 +367,7 @@ GetCitusTableDDLCommandList(Oid relationId)
|
|||
|
||||
|
||||
/*
|
||||
* ReplicateAllDependenciesToNodeCommandList returns commands to replicate all
|
||||
* ReplicateAllObjectsToNodeCommandList returns commands to replicate all
|
||||
* previously marked objects to a worker node. The function also sets
|
||||
* clusterHasDistributedFunction if there are any distributed functions.
|
||||
*/
|
||||
|
|
|
@ -648,7 +648,7 @@ PgDistTableMetadataSyncCommandList(void)
|
|||
}
|
||||
}
|
||||
|
||||
/* remove all dist table related metadata first */
|
||||
/* remove all dist table and object related metadata first */
|
||||
metadataSnapshotCommandList = lappend(metadataSnapshotCommandList,
|
||||
DELETE_ALL_PARTITIONS);
|
||||
metadataSnapshotCommandList = lappend(metadataSnapshotCommandList, DELETE_ALL_SHARDS);
|
||||
|
@ -755,7 +755,7 @@ SyncObjectDependenciesCommandList(WorkerNode *workerNode)
|
|||
List *commandList = NIL;
|
||||
|
||||
/*
|
||||
* Detach partitions, remove shell tables and delete all objects first.
|
||||
* Detach partitions and remove shell tables first.
|
||||
*/
|
||||
commandList = list_concat(commandList, DetachPartitionCommandList());
|
||||
commandList = lappend(commandList, REMOVE_ALL_CLUSTERED_TABLES_ONLY_COMMAND);
|
||||
|
@ -817,6 +817,11 @@ SyncObjectDependenciesToNode(WorkerNode *workerNode)
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* SyncPgDistTableMetadataToNode syncs the pg_dist_partition, pg_dist_shard
|
||||
* pg_dist_placement and pg_dist_object metadata entries.
|
||||
*
|
||||
*/
|
||||
static void
|
||||
SyncPgDistTableMetadataToNode(WorkerNode *workerNode)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue