You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/06/25 04:01:31 UTC
[iotdb] 01/01: Change default partition cache size to 0
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch partition_cache_size
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 3d49f51207e3c26c920553ffc22623bf3907d49f
Author: HTHou <hh...@outlook.com>
AuthorDate: Sat Jun 25 12:01:16 2022 +0800
Change default partition cache size to 0
---
server/src/assembly/resources/conf/iotdb-engine.properties | 2 +-
server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/src/assembly/resources/conf/iotdb-engine.properties b/server/src/assembly/resources/conf/iotdb-engine.properties
index 684bc6f045..6af6f3ecc2 100644
--- a/server/src/assembly/resources/conf/iotdb-engine.properties
+++ b/server/src/assembly/resources/conf/iotdb-engine.properties
@@ -1031,7 +1031,7 @@ timestamp_precision=ms
# cache size for partition.
# This cache is used to improve partition fetch from config node.
# Datatype: int
-# partition_cache_size=10000
+# partition_cache_size=0
####################
### Schema File Configuration
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index 258bfecee3..3219bd72cf 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -896,7 +896,7 @@ public class IoTDBConfig {
* Cache size of partition cache in {@link
* org.apache.iotdb.db.mpp.plan.analyze.ClusterPartitionFetcher}
*/
- private int partitionCacheSize = 10000;
+ private int partitionCacheSize = 0;
/** Cache size of user and role */
private int authorCacheSize = 100;