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:47:18 UTC
[iotdb] branch master 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 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 420bdc3 Fix the problem of formatting debug information in MManager (#2028)
420bdc3 is described below
commit 420bdc3a2f7b0b865ce535e85f74eb2ca8787008
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)
---
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 8f78a97..a76510d 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())));
}
}