[
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)