You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2021/05/27 11:29:09 UTC
[iotdb] branch ChunkCacheBug updated: fix TsServiceImpl's compile
error
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch ChunkCacheBug
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/ChunkCacheBug by this push:
new 715dfca fix TsServiceImpl's compile error
715dfca is described below
commit 715dfca728be8c8b18dc86299b17f2de828b01d0
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Thu May 27 19:28:35 2021 +0800
fix TsServiceImpl's compile error
---
.../src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java b/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
index fc8c344..a740398 100644
--- a/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
+++ b/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
@@ -27,8 +27,6 @@ import org.apache.iotdb.db.conf.IoTDBConstant;
import org.apache.iotdb.db.conf.IoTDBDescriptor;
import org.apache.iotdb.db.cost.statistic.Measurement;
import org.apache.iotdb.db.cost.statistic.Operation;
-import org.apache.iotdb.db.engine.cache.ChunkCache;
-import org.apache.iotdb.db.engine.cache.TimeSeriesMetadataCache;
import org.apache.iotdb.db.exception.BatchProcessException;
import org.apache.iotdb.db.exception.IoTDBException;
import org.apache.iotdb.db.exception.QueryInBatchStatementException;
@@ -884,13 +882,6 @@ public class TSServiceImpl implements TSIService.Iface {
if (costTime >= config.getSlowQueryThreshold()) {
SLOW_SQL_LOGGER.info("Cost: {} ms, sql is {}", costTime, statement);
}
- if (plan.isDebug()) {
- SLOW_SQL_LOGGER.info(
- "ChunkCache used memory proportion: {}\n"
- + "TimeSeriesMetadataCache used memory proportion: {}",
- ChunkCache.getInstance().getUsedMemoryProportion(),
- TimeSeriesMetadataCache.getInstance().getUsedMemoryProportion());
- }
}
}