This is an automated email from the ASF dual-hosted git repository.
haonan 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 3fe0263838 temporarily close partition cache. (#6486)
3fe0263838 is described below
commit 3fe02638383aea3c58203ac3c449fe03debbfc1a
Author: ZhangHongYin <[email protected]>
AuthorDate: Tue Jun 28 18:38:37 2022 +0800
temporarily close partition cache. (#6486)
---
server/src/assembly/resources/conf/iotdb-datanode.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-datanode.properties
b/server/src/assembly/resources/conf/iotdb-datanode.properties
index c917204313..3d378902de 100644
--- a/server/src/assembly/resources/conf/iotdb-datanode.properties
+++ b/server/src/assembly/resources/conf/iotdb-datanode.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=100000
+# 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 0ceae86ee6..fe176dd568 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 = 100000;
+ private int partitionCacheSize = 0;
/** Cache size of user and role */
private int authorCacheSize = 100;