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))
|
||||
{
|
||||
/*
|
||||
* Skip roles and text search templates.
|
||||
*
|
||||
* Roles should be handled manually with Citus community whereas text search
|
||||
* templates should be handled manually in both community and enterprise
|
||||
* Since we do not yet support distributed TS TEMPLATE objects, we skip
|
||||
* dependency checks for text search templates. The user is expected to
|
||||
* manually create the TS TEMPLATE objects.
|
||||
*/
|
||||
if (getObjectClass(dependency) != OCLASS_ROLE &&
|
||||
getObjectClass(dependency) != OCLASS_TSTEMPLATE)
|
||||
if (getObjectClass(dependency) != OCLASS_TSTEMPLATE)
|
||||
{
|
||||
return dependency;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue