You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by xu...@apache.org on 2022/04/21 08:08:50 UTC
[hudi] branch master updated: [HUDI-3938] Fix default value for num retries to acquire lock (#5380)
This is an automated email from the ASF dual-hosted git repository.
xushiyan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new a9506aa545 [HUDI-3938] Fix default value for num retries to acquire lock (#5380)
a9506aa545 is described below
commit a9506aa545b724547401ff1060efc75d5ba3ded1
Author: Sivabalan Narayanan <n....@gmail.com>
AuthorDate: Thu Apr 21 04:08:43 2022 -0400
[HUDI-3938] Fix default value for num retries to acquire lock (#5380)
---
.../src/main/java/org/apache/hudi/config/HoodieLockConfig.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieLockConfig.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieLockConfig.java
index 723c9f3cbf..9ea28fbbd4 100644
--- a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieLockConfig.java
+++ b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieLockConfig.java
@@ -92,7 +92,7 @@ public class HoodieLockConfig extends HoodieConfig {
public static final ConfigProperty<String> LOCK_ACQUIRE_CLIENT_NUM_RETRIES = ConfigProperty
.key(LOCK_ACQUIRE_CLIENT_NUM_RETRIES_PROP_KEY)
- .defaultValue(String.valueOf(0))
+ .defaultValue(String.valueOf(10))
.sinceVersion("0.8.0")
.withDocumentation("Maximum number of times to retry to acquire lock additionally from the lock manager.");