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

James Taylor commented on PHOENIX-1264:
---------------------------------------

One other minor change. It should not be necessary to call updateCache here in 
MetaDataClient, so please remove that:
{code}
         // Clear the cache also. So that for cases like major compaction also 
we would be able to use the stats
-        updateCache(table.getSchemaName().getString(), 
table.getTableName().getString(), true);
+        updateCache(table.getSchemaName().getString(), 
physicalName.getString(), true);
{code}

> Add StatisticsCollector to existing tables on first connection to cluster
> -------------------------------------------------------------------------
>
>                 Key: PHOENIX-1264
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1264
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: James Taylor
>            Assignee: ramkrishna.s.vasudevan
>         Attachments: Pheonix-1264_3.0.patch, Pheonix-1264_3.0_1.patch, 
> Phoenix-1264_1.patch, Phoenix-1264_2.patch, Phoenix-1264_3.0_1.patch, 
> Phoenix-1264_3.0_3.patch, Phoenix-1264_3.patch
>
>
> We'll need to add the StatisticsCollector to existing tables so that stats 
> are kept for these tables. We typically do that on first connection to the 
> cluster in ensureTableCreated when our system table is created by walking 
> through the existing Phoenix tables. We only need to do it if the system 
> table already exists (otherwise, it's a new installation).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to