You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2020/11/12 13:51:19 UTC
[iotdb] branch rel/0.11 updated: Fix the problem of formatting
debug information in MManager (#2028)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch rel/0.11
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.11 by this push:
new 78f5441 Fix the problem of formatting debug information in MManager (#2028)
78f5441 is described below
commit 78f54417efa7cbf3b655c4a0744c7f0ff3c77677
Author: Benedict Jin <as...@apache.org>
AuthorDate: Thu Nov 12 21:45:56 2020 +0800
Fix the problem of formatting debug information in MManager (#2028)
(cherry picked from commit 420bdc3a2f7b0b865ce535e85f74eb2ca8787008)
---
server/src/main/java/org/apache/iotdb/db/metadata/MManager.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/metadata/MManager.java b/server/src/main/java/org/apache/iotdb/db/metadata/MManager.java
index ccaaf0b..ae3b252 100644
--- a/server/src/main/java/org/apache/iotdb/db/metadata/MManager.java
+++ b/server/src/main/java/org/apache/iotdb/db/metadata/MManager.java
@@ -533,8 +533,8 @@ public class MManager {
if (tagIndex.containsKey(entry.getKey()) && tagIndex.get(entry.getKey())
.containsKey(entry.getValue())) {
if (logger.isDebugEnabled()) {
- logger.debug(String.format(DEBUG_MSG, "Delete" + TAG_FORMAT,
- node.getFullPath(), entry.getKey(), entry.getValue(), node.getOffset()));
+ logger.debug(String.format(String.format(DEBUG_MSG, "Delete" + TAG_FORMAT,
+ node.getFullPath()), entry.getKey(), entry.getValue(), node.getOffset()));
}
tagIndex.get(entry.getKey()).get(entry.getValue()).remove(node);
if (tagIndex.get(entry.getKey()).get(entry.getValue()).isEmpty()) {
@@ -545,8 +545,8 @@ public class MManager {
}
} else {
if (logger.isDebugEnabled()) {
- logger.debug(String.format(DEBUG_MSG_1, "Delete" + PREVIOUS_CONDITION,
- node.getFullPath(), entry.getKey(), entry.getValue(), node.getOffset(),
+ logger.debug(String.format(String.format(DEBUG_MSG_1, "Delete" + PREVIOUS_CONDITION,
+ node.getFullPath()), entry.getKey(), entry.getValue(), node.getOffset(),
tagIndex.containsKey(entry.getKey())));
}
}