mirror of https://github.com/citusdata/citus.git
Adds distributed check for new dependency function
parent
3600f22d46
commit
7433b795b1
|
@ -103,6 +103,12 @@ static void
|
|||
EnsureRequiredObjectExistOnAllNodes(const ObjectAddress *target,
|
||||
RequiredObjectSet requiredObjectSet)
|
||||
{
|
||||
if(!IsAnyObjectDistributed(list_make1((ObjectAddress *) target)))
|
||||
{
|
||||
/* do not propagate for non-distributed types */
|
||||
return;
|
||||
}
|
||||
|
||||
Assert(requiredObjectSet == REQUIRE_ONLY_DEPENDENCIES ||
|
||||
requiredObjectSet == REQUIRE_OBJECT_AND_DEPENDENCIES);
|
||||
|
||||
|
|
Loading…
Reference in New Issue