HunterXHunter created HUDI-5391:
-----------------------------------

             Summary: Modify the default value of parameter  
`hoodie.write.lock.client`
                 Key: HUDI-5391
                 URL: https://issues.apache.org/jira/browse/HUDI-5391
             Project: Apache Hudi
          Issue Type: Improvement
            Reporter: HunterXHunter


In OCC mode, there are many steps to trigger lock, which will lead to frequent 
locking and unlocking, however, the execution time of locked operations is 
short.

So, The default value of  `hoodie.write.lock.client.wait_time_ms_between_retry` 
 should be adjusted from 10s to 2s to Reduce unnecessary waiting time,

and the default value of `hoodie.write.lock.client.num_retries` can be 
increased to 50.

The above adjustments have obvious positive effects in actual use.



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

Reply via email to