mirror of https://github.com/citusdata/citus.git
Improve comment
parent
a9669ab08a
commit
caa1bda172
|
@ -138,6 +138,9 @@ EnsureDependenciesExistOnAllNodesInternal(const ObjectAddress *target,
|
||||||
* before any node is in the cluster. If we would wait till we actually had connected
|
* before any node is in the cluster. If we would wait till we actually had connected
|
||||||
* to the nodes before marking the objects as distributed these objects would never be
|
* to the nodes before marking the objects as distributed these objects would never be
|
||||||
* created on the workers when they get added, causing shards to fail to create.
|
* created on the workers when they get added, causing shards to fail to create.
|
||||||
|
*
|
||||||
|
* NOTE: We do this after creating the objects on the workers, otherwise
|
||||||
|
* MarkObjectDistributed would fail when localOnlyMarkdistributed is false.
|
||||||
*/
|
*/
|
||||||
foreach_ptr(dependency, dependenciesWithCommands)
|
foreach_ptr(dependency, dependenciesWithCommands)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue