You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2026/10/21 07:46:08 UTC
(iotdb) branch master updated: [Test] Fix the metadata lease override in DataNode unit tests (#18953)
This is an automated email from the ASF dual-hosted git repository.
jt2594838 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 6ca9cd9d1ff [Test] Fix the metadata lease override in DataNode unit tests (#18953)
6ca9cd9d1ff is described below
commit 6ca9cd9d1ff452fc9a39182d7f8c38e4d2f54b3d
Author: Caideyipi <87...@users.noreply.github.com>
AuthorDate: Wed Oct 21 15:46:00 2026 +0800
[Test] Fix the metadata lease override in DataNode unit tests (#18953)
Use the DataNode check interval instead of the ConfigNode fence threshold so unit tests without ConfigNode heartbeats do not fence shared metadata caches after 20 seconds.
---
iotdb-core/datanode/src/test/resources/iotdb-system.properties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iotdb-core/datanode/src/test/resources/iotdb-system.properties b/iotdb-core/datanode/src/test/resources/iotdb-system.properties
index f9ddddbe1dd..4318ba30cf6 100644
--- a/iotdb-core/datanode/src/test/resources/iotdb-system.properties
+++ b/iotdb-core/datanode/src/test/resources/iotdb-system.properties
@@ -29,7 +29,7 @@ dn_sync_dir=target/sync
dn_seed_config_node=127.0.0.1:10710
# Unit tests do not receive ConfigNode heartbeats, so disable the background metadata lease check.
-metadata_lease_fence_ms=9223372036854775807
+check_dn_lease_status_interval_ms=9223372036854775807
udf_lib_dir=target/ext/udf
trigger_lib_dir=target/ext/trigger