Remove stale comment

velioglu/wo_seq_test_1
Burak Velioglu 2022-01-11 11:39:30 +03:00
parent 2b513c4100
commit 5204db187b
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
1 changed files with 2 additions and 3 deletions

View File

@ -330,7 +330,8 @@ upgrade_to_reference_table(PG_FUNCTION_ARGS)
/* /*
* ReplicateShardToNode function replicates given shard to the given worker node * ReplicateShardToNode function replicates given shard to the given worker node
* in a separate transaction. If the worker already has * in a separate transaction. If the worker already has
* a replica of the shard this is a no-op. * a replica of the shard this is a no-op. This function also modifies metadata
* by inserting/updating related rows in pg_dist_placement.
* *
* IMPORTANT: This should only be used to replicate shards of a reference * IMPORTANT: This should only be used to replicate shards of a reference
* table. * table.
@ -550,8 +551,6 @@ ReferenceTableReplicationFactor(void)
* table to update the replication factor column when necessary. This function * table to update the replication factor column when necessary. This function
* skips reference tables if that node already has healthy placement of that * skips reference tables if that node already has healthy placement of that
* reference table to prevent unnecessary data transfer. * reference table to prevent unnecessary data transfer.
*
* TODO: Make is static and updatr comment
*/ */
void void
ReplicateAllReferenceTablesToNode(char *nodeName, int nodePort) ReplicateAllReferenceTablesToNode(char *nodeName, int nodePort)