This is an automated email from the ASF dual-hosted git repository.

JackieTien97 pushed a commit to branch ty/edge-long-metadata-lease
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 8768a63bd8905775b0c3b412b58ad7428bff29ae
Author: JackieTien97 <[email protected]>
AuthorDate: Fri Nov 6 16:08:05 2026 +0800

    Increase Edge metadata lease timeout to ten years
---
 .../src/assembly/resources/conf/edge/iotdb-system.properties       | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git 
a/iotdb-core/node-commons/src/assembly/resources/conf/edge/iotdb-system.properties
 
b/iotdb-core/node-commons/src/assembly/resources/conf/edge/iotdb-system.properties
index 1ec4ad2fe30..7ccdcf5daba 100644
--- 
a/iotdb-core/node-commons/src/assembly/resources/conf/edge/iotdb-system.properties
+++ 
b/iotdb-core/node-commons/src/assembly/resources/conf/edge/iotdb-system.properties
@@ -140,6 +140,13 @@ data_region_group_extension_policy=CUSTOM
 default_data_region_group_num_per_database=1
 series_slot_num=1
 
+# ---- metadata lease for the combined CN/DN process ----
+# CN and DN pause together during JVM GC. Use ten years (365-day years) to
+# effectively disable metadata lease expiry in Edge and avoid cache recovery
+# after long JVM pauses. Keep the value finite so the ConfigNode grace period
+# and millisecond-to-nanosecond deadline calculations do not overflow.
+metadata_lease_fence_ms=315360000000
+
 # ---- metrics off (the internal MetricService is shared by both nodes) ----
 cn_metric_level=OFF
 dn_metric_level=OFF

Reply via email to