This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 5e3c24b89 [core] Adjust default value of 'snapshot.expire.limit'
(#4508)
5e3c24b89 is described below
commit 5e3c24b89876eaa7d5a4d7783ac01b64a939fae7
Author: askwang <[email protected]>
AuthorDate: Wed Nov 13 11:19:56 2024 +0800
[core] Adjust default value of 'snapshot.expire.limit' (#4508)
---
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 1305dfe92..7287cacc2 100644
--- a/docs/layouts/shortcodes/generated/core_configuration.html
+++ b/docs/layouts/shortcodes/generated/core_configuration.html
@@ -751,7 +751,7 @@ This config option does not affect the default filesystem
metastore.</td>
</tr>
<tr>
<td><h5>snapshot.expire.limit</h5></td>
- <td style="word-wrap: break-word;">10</td>
+ <td style="word-wrap: break-word;">50</td>
<td>Integer</td>
<td>The maximum number of snapshots allowed to expire at a
time.</td>
</tr>
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 bb1661d6f..db603c5b6 100644
--- a/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java
+++ b/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java
@@ -315,7 +315,7 @@ public class CoreOptions implements Serializable {
public static final ConfigOption<Integer> SNAPSHOT_EXPIRE_LIMIT =
key("snapshot.expire.limit")
.intType()
- .defaultValue(10)
+ .defaultValue(50)
.withDescription(
"The maximum number of snapshots allowed to expire
at a time.");