[
https://issues.apache.org/jira/browse/PHOENIX-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser resolved PHOENIX-2910.
---------------------------------
Resolution: Duplicate
Fix Version/s: (was: 4.8.0)
Closing as a dupe in favor of Nick's PHOENIX-2940 as he has much better details
> Avoid synchronous stats lookup in PTable creation while holding row lock
> ------------------------------------------------------------------------
>
> Key: PHOENIX-2910
> URL: https://issues.apache.org/jira/browse/PHOENIX-2910
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Josh Elser
> Assignee: Josh Elser
>
> We've had a number of complaints surrounding contention inside
> MetaDataEndpointImpl when we're constructing a PTable instance and reading
> from the stats table. In 4.7 and beyond, there are some new configuration
> properties which can be used to reduce some of this contention; however, it
> has been pointed out that doing an RPC to read the stats table while holding
> a rowlock is a "bad idea".
> I propose that we change this to maintain a cache from the stats table,
> update this cache in the background, and use this cache when creating PTables.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)