Viraj Jasani created PHOENIX-7700:
-------------------------------------

             Summary: Update default values for schema change retry policy
                 Key: PHOENIX-7700
                 URL: https://issues.apache.org/jira/browse/PHOENIX-7700
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Viraj Jasani


As part of any ALTER TABLE DDL statement execution, two configs determine the 
retry policy while awaiting response from HBase modifyTable operation:
 * 
phoenix.schema.change.retries
 * 
phoenix.schema.change.delay

The default values for "phoenix.schema.change.delay" is 5 sec and for 
"phoenix.schema.change.retries" is 10. In majority cases, HBase procedures take 
less than a second to complete, therefore awaiting for 5 sec is not helpful.

We should change the default values of delay to 1 sec and retries to 50 to keep 
default overall 50sec of wait time before throwing TimeoutException.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to