You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Jan Fernando (JIRA)" <ji...@apache.org> on 2014/08/25 23:37:00 UTC

[jira] [Created] (PHOENIX-1208) hasViews() method in MetaDataEndpointImpl.java doesn't take into account the fact that SYSTEM.CATALOG could be split and tenant views span multiple regions

Jan Fernando created PHOENIX-1208:
-------------------------------------

             Summary: hasViews() method in MetaDataEndpointImpl.java doesn't take into account the fact that SYSTEM.CATALOG could be split and tenant views span multiple regions
                 Key: PHOENIX-1208
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1208
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 5.0.0, 3.1, 4.1
            Reporter: Jan Fernando
            Priority: Minor


It is possible that when SYSTEM.CATALOG gets very large that it will be split across multiple regions. The parent table metadata is guaranteed via MetaDataSplitPolicy to be in the same region. However, child tenant specific views could end split across multiple regions. The hasViews() method, when checking for the existence of any views, scans only the region the parent table metadata is located in. We should detect whether the views span multiple regions and scan across them all.



--
This message was sent by Atlassian JIRA
(v6.2#6252)