danny0405 commented on code in PR #5884:
URL: https://github.com/apache/hudi/pull/5884#discussion_r900097971
##########
hudi-common/src/main/java/org/apache/hudi/common/table/view/FileSystemViewStorageConfig.java:
##########
@@ -110,6 +110,30 @@ public class FileSystemViewStorageConfig extends
HoodieConfig {
.defaultValue(5 * 60) // 5 min
.withDocumentation("Timeout in seconds, to wait for API requests against
a remote file system view. e.g timeline server.");
+ public static final ConfigProperty<Integer> REMOTE_MAX_RETRY_NUMBERS =
ConfigProperty
+ .key("hoodie.filesystem.view.remote.retry.max_numbers")
+ .defaultValue(3) // 3 times
+ .withDocumentation("Maximum number of retry for API requests against a
remote file system view. e.g timeline server.");
+
+ public static final ConfigProperty<Long> REMOTE_INITIAL_RETRY_INTERVAL_MS =
ConfigProperty
+ .key("hoodie.filesystem.view.remote.retry.initial_interval_ms")
+ .defaultValue(100L)
+ .sinceVersion("0.11.0")
+ .withDocumentation("Amount of time (in ms) to wait, before retry to do
operations on storage.");
+
+ public static final ConfigProperty<Long> REMOTE_MAX_RETRY_INTERVAL_MS =
ConfigProperty
+ .key("hoodie.filesystem.view.remote.retry.max_interval_ms")
+ .defaultValue(2000L)
+ .sinceVersion("0.11.0")
+ .withDocumentation("Maximum amount of time (in ms), to wait for next
retry.");
+
+ public static final ConfigProperty<String> RETRY_EXCEPTIONS = ConfigProperty
+ .key("hoodie.filesystem.view.remote.retry.exceptions")
+ .defaultValue("")
+ .sinceVersion("0.11.0")
Review Comment:
since 0.12.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]