[ 
https://issues.apache.org/jira/browse/PHOENIX-4935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634639#comment-16634639
 ] 

Geoffrey Jacoby commented on PHOENIX-4935:
------------------------------------------

[~vincentpoon] - took a closer look at the index tool, and I don't believe it 
currently supports rebuilding a tenant-owned index at all. It uses 
PhoenixRuntime.getTable() with a non-tenanted connection to find a PTable and 
then iterate over its indexes. Non-tenanted connections can't see tenant-owned 
objects (a design I disagree with -- see PHOENIX-4657 for why -- but that's an 
argument for another day :) ) 

Presumably that means that I could give IndexTool the same change I did in 
PHOENIX-4907 for scrutiny, and we could then file a new item for adding support 
for rebuilding tenant views in the future. wdyt? 

 

> IndexTool should use empty catalog instead of null
> --------------------------------------------------
>
>                 Key: PHOENIX-4935
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4935
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.0
>            Reporter: Vincent Poon
>            Priority: Major
>
> Same issue as PHOENIX-3907 but with the IndexTool



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to