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 2024/07/03 08:15:16 UTC
(iotdb) 01/02: Revert "add debug log"
This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a commit to branch debug_ttl
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 2e04e490c27c129f0fd6edbcab848321ca373a7b
Author: jt2594838 <jt...@163.com>
AuthorDate: Wed Jul 3 16:11:06 2024 +0800
Revert "add debug log"
This reverts commit 442834e771072bd13975ce7b919d909d74dbd570.
---
.../confignode/consensus/request/write/database/SetTTLPlan.java | 9 ---------
.../java/org/apache/iotdb/confignode/persistence/TTLInfo.java | 1 -
2 files changed, 10 deletions(-)
diff --git a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/write/database/SetTTLPlan.java b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/write/database/SetTTLPlan.java
index 78ecbd7bbe1..4dd61e9a730 100644
--- a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/write/database/SetTTLPlan.java
+++ b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/write/database/SetTTLPlan.java
@@ -119,13 +119,4 @@ public class SetTTLPlan extends ConfigPhysicalPlan {
public void setDataBase(boolean dataBase) {
isDataBase = dataBase;
}
-
- @Override
- public String toString() {
- return "SetTTLPlan{" +
- "pathPattern=" + Arrays.toString(pathPattern) +
- ", isDataBase=" + isDataBase +
- ", TTL=" + TTL +
- '}';
- }
}
diff --git a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/TTLInfo.java b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/TTLInfo.java
index c5cea1dcce6..a72445c3fbd 100644
--- a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/TTLInfo.java
+++ b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/TTLInfo.java
@@ -64,7 +64,6 @@ public class TTLInfo implements SnapshotProcessor {
public TSStatus setTTL(SetTTLPlan plan) {
lock.writeLock().lock();
- LOGGER.info("Setting TTL {}", plan);
try {
// check ttl rule capacity
final int tTlRuleCapacity = CommonDescriptor.getInstance().getConfig().getTTlRuleCapacity();