Josh Elser created PHOENIX-2910:
-----------------------------------

             Summary: 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
             Fix For: 4.8.0


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)

Reply via email to