You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Samarth Jain (JIRA)" <ji...@apache.org> on 2015/12/22 23:12:46 UTC

[jira] [Resolved] (PHOENIX-1340) Prevent collecting stats on the same region multiple times in same call

     [ https://issues.apache.org/jira/browse/PHOENIX-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samarth Jain resolved PHOENIX-1340.
-----------------------------------
    Resolution: Fixed

This is no longer needed as we now have a stats tracker of sorts to make sure only one UPDATE STATS command is running over a region. The stats tracker also makes sure that UPDATE STATS won't be run if the region is already undergoing major compaction.

> Prevent collecting stats on the same region multiple times in same call
> -----------------------------------------------------------------------
>
>                 Key: PHOENIX-1340
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1340
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: James Taylor
>            Assignee: Samarth Jain
>
> If the stats are collected for a table with local indexes or a view with indexes, we may collect the stats for the same region multiple times. The reason is that data for multiple indexes may be shared in the same region, but we run the updateStatsInternal call serially. We need to implement PHOENIX-1339 first for this to be possible.



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