From 8768a63bd8905775b0c3b412b58ad7428bff29ae Mon Sep 17 00:00:00 2001 From: JackieTien97 Date: Fri, 6 Nov 2026 16:08:05 +0800 Subject: [PATCH] Increase Edge metadata lease timeout to ten years --- .../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 1ec4ad2fe301e..7ccdcf5dababd 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