You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Ethan Guo (Jira)" <ji...@apache.org> on 2023/02/16 07:02:00 UTC

[jira] [Closed] (HUDI-5391) Modify the default value of parameter `hoodie.write.lock.client`

     [ https://issues.apache.org/jira/browse/HUDI-5391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ethan Guo closed HUDI-5391.
---------------------------
    Resolution: Fixed

> 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
>            Assignee: HunterXHunter
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.13.0
>
>
> 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)