mirror of https://github.com/citusdata/citus.git
Refactor
parent
a4bf6a1dbb
commit
515f1e2346
|
@ -1,6 +1,6 @@
|
||||||
/*-------------------------------------------------------------------------
|
/*-------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* split_shard_replication_setup.c
|
* worker_split_shard_replication_setup.c
|
||||||
* This file contains functions to setup information about list of shards
|
* This file contains functions to setup information about list of shards
|
||||||
* that are being split.
|
* that are being split.
|
||||||
*
|
*
|
|
@ -218,26 +218,6 @@ PrintShardSplitPubSubMetadata(ShardSplitSubscriberMetadata *shardSplitMetadata)
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* static void */
|
|
||||||
/* CreateShardSplitPublications(MultiConnection *sourceConnection, */
|
|
||||||
/* List *shardSplitPubSubMetadataList) */
|
|
||||||
/* { */
|
|
||||||
/* ShardSplitSubscriberMetadata *shardSplitPubSubMetadata = NULL; */
|
|
||||||
/* foreach_ptr(shardSplitPubSubMetadata, shardSplitPubSubMetadataList) */
|
|
||||||
/* { */
|
|
||||||
/* uint32 publicationForNodeId = shardSplitPubSubMetadata->slotInfo->targetNodeId; */
|
|
||||||
/* Oid tableOwnerId = shardSplitPubSubMetadata->tableOwnerId; */
|
|
||||||
|
|
||||||
/* CreateShardSplitPublicationForNode(sourceConnection, */
|
|
||||||
/* shardSplitPubSubMetadata-> */
|
|
||||||
/* shardIntervalListForSubscription, */
|
|
||||||
/* publicationForNodeId, */
|
|
||||||
/* tableOwnerId); */
|
|
||||||
/* } */
|
|
||||||
/* } */
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
CreateShardSplitSubscriptions(List *targetNodeConnectionList,
|
CreateShardSplitSubscriptions(List *targetNodeConnectionList,
|
||||||
List *shardSplitPubSubMetadataList,
|
List *shardSplitPubSubMetadataList,
|
||||||
|
|
Loading…
Reference in New Issue