You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ro...@apache.org on 2023/10/27 11:48:01 UTC
(iotdb) 05/06: reduce encoding dismatch log when loading tsfile
This is an automated email from the ASF dual-hosted git repository.
rong pushed a commit to branch pipe-rename
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 472c128ee2a5dfa4e56c646bb05b3f3a71c7aaf6
Author: Steve Yurong Su <ro...@apache.org>
AuthorDate: Fri Oct 27 19:38:55 2023 +0800
reduce encoding dismatch log when loading tsfile
---
.../apache/iotdb/db/queryengine/plan/analyze/LoadTsfileAnalyzer.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/LoadTsfileAnalyzer.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/LoadTsfileAnalyzer.java
index 52776115030..cbad758cc55 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/LoadTsfileAnalyzer.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/LoadTsfileAnalyzer.java
@@ -605,9 +605,10 @@ public class LoadTsfileAnalyzer {
}
// check encoding
- if (!tsFileSchema.getEncodingType().equals(iotdbSchema.getEncodingType())) {
+ if (LOGGER.isDebugEnabled()
+ && !tsFileSchema.getEncodingType().equals(iotdbSchema.getEncodingType())) {
// we allow a measurement to have different encodings in different chunks
- LOGGER.warn(
+ LOGGER.debug(
"Encoding type not match, measurement: {}{}{}, "
+ "TsFile encoding: {}, IoTDB encoding: {}",
device,