mirror of https://github.com/citusdata/citus.git
Fix GetUndistributableDependency (#7124)
This is a leftover task from merging enterprise to community. Roles are distributed in community now, the comment is stale and the check is redundant.pull/7113/head
parent
a2315fdc67
commit
71c475af52
|
@ -1022,13 +1022,11 @@ GetUndistributableDependency(const ObjectAddress *objectAddress)
|
||||||
if (!SupportedDependencyByCitus(dependency))
|
if (!SupportedDependencyByCitus(dependency))
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Skip roles and text search templates.
|
* Since we do not yet support distributed TS TEMPLATE objects, we skip
|
||||||
*
|
* dependency checks for text search templates. The user is expected to
|
||||||
* Roles should be handled manually with Citus community whereas text search
|
* manually create the TS TEMPLATE objects.
|
||||||
* templates should be handled manually in both community and enterprise
|
|
||||||
*/
|
*/
|
||||||
if (getObjectClass(dependency) != OCLASS_ROLE &&
|
if (getObjectClass(dependency) != OCLASS_TSTEMPLATE)
|
||||||
getObjectClass(dependency) != OCLASS_TSTEMPLATE)
|
|
||||||
{
|
{
|
||||||
return dependency;
|
return dependency;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue