Vincent Poon created PHOENIX-4683:
-------------------------------------

             Summary: Cap timeouts for stats precompact hook logic
                 Key: PHOENIX-4683
                 URL: https://issues.apache.org/jira/browse/PHOENIX-4683
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.13.0
            Reporter: Vincent Poon


In UngroupedAggregateRegionObserver#preCompact we call 
DefaultStatisticsCollector.createCompactionScanner.  It uses the env config 
which in turn contains the RS server rpc timeout of 20 minutes.  That's too 
long for a compaction hook.

Like in PHOENIX-4169, we should cap the timeout so the compaction doesn't get 
blocked.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to