From 4303d9507193498859368c5871791b16a06f4c0a Mon Sep 17 00:00:00 2001 From: xuyu <11161569@vivo.com> Date: Tue, 10 Dec 2024 11:11:54 +0800 Subject: [PATCH] fix doc --- docs/layouts/shortcodes/generated/core_configuration.html | 2 +- paimon-common/src/main/java/org/apache/paimon/CoreOptions.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/layouts/shortcodes/generated/core_configuration.html b/docs/layouts/shortcodes/generated/core_configuration.html index 33dc6c3f08f8..7cc75261dca7 100644 --- a/docs/layouts/shortcodes/generated/core_configuration.html +++ b/docs/layouts/shortcodes/generated/core_configuration.html @@ -135,7 +135,7 @@ Maximum number of retries when commit failed. -
commit.max-timeout
+
commit.timeout
(none) Duration Max timeout duration of retry when commit failed. diff --git a/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java b/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java index 74fe1c17ae79..9c154230d7eb 100644 --- a/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java +++ b/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java @@ -528,7 +528,7 @@ public class CoreOptions implements Serializable { .withDescription("Whether to force a compaction before commit."); public static final ConfigOption COMMIT_MAX_TIMEOUT = - key("commit.max-timeout") + key("commit.timeout") .durationType() .noDefaultValue() .withDescription("Max timeout duration of retry when commit failed.");