You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2014/03/03 18:47:25 UTC

[jira] [Created] (PHOENIX-102) IndexMaintainer constructor doesn't set isMultiTenant correctly

Jeffrey Zhong created PHOENIX-102:
-------------------------------------

             Summary: IndexMaintainer constructor doesn't set isMultiTenant correctly
                 Key: PHOENIX-102
                 URL: https://issues.apache.org/jira/browse/PHOENIX-102
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 3.0.0
            Reporter: Jeffrey Zhong
            Assignee: Jeffrey Zhong


Currently IndexMaintainer is using 
{code}
PName tenantId = dataTable.getTenantId();
this.isMultiTenant = tenantId != null
{code}
The check "tenantId != null" doesn't cover the case tenantId could be empty pname value. In addition, dataTable.isMultiTenant has already exposed right value so we should use dataTable.isMultiTenant() instead.



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