mirror of https://github.com/citusdata/citus.git
update workerNodeList after sorting
parent
6c5866cc4d
commit
8127297999
|
@ -263,7 +263,7 @@ MetadataCreateCommands(void)
|
||||||
bool includeSequenceDefaults = true;
|
bool includeSequenceDefaults = true;
|
||||||
|
|
||||||
/* make sure we have deterministic output for our tests */
|
/* make sure we have deterministic output for our tests */
|
||||||
SortList(workerNodeList, CompareWorkerNodes);
|
workerNodeList = SortList(workerNodeList, CompareWorkerNodes);
|
||||||
|
|
||||||
/* generate insert command for pg_dist_node table */
|
/* generate insert command for pg_dist_node table */
|
||||||
nodeListInsertCommand = NodeListInsertCommand(workerNodeList);
|
nodeListInsertCommand = NodeListInsertCommand(workerNodeList);
|
||||||
|
|
Loading…
Reference in New Issue