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 2021/07/19 07:38:51 UTC
[iotdb] branch autoai_debug updated: fix spotless
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch autoai_debug
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/autoai_debug by this push:
new 1ff1ed3 fix spotless
1ff1ed3 is described below
commit 1ff1ed330c5616a4bbdd16d11f6adec5e3ad169c
Author: qiaojialin <64...@qq.com>
AuthorDate: Mon Jul 19 15:38:17 2021 +0800
fix spotless
---
.../iotdb/db/writelog/node/ExclusiveWriteLogNode.java | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java b/server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java
index dd9b1dc..2202bf3 100644
--- a/server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java
+++ b/server/src/main/java/org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java
@@ -287,8 +287,8 @@ public class ExclusiveWriteLogNode implements WriteLogNode, Comparable<Exclusive
}
private void flushBuffer(ILogWriter writer) {
-// logger.warn("[wal] {} flushBuffer start", this.hashCode());
-// long start = System.currentTimeMillis();
+ // logger.warn("[wal] {} flushBuffer start", this.hashCode());
+ // long start = System.currentTimeMillis();
try {
writer.write(logBufferFlushing);
} catch (ClosedChannelException e) {
@@ -298,12 +298,12 @@ public class ExclusiveWriteLogNode implements WriteLogNode, Comparable<Exclusive
IoTDBDescriptor.getInstance().getConfig().setReadOnly(true);
return;
}
-// finally {
-// long elapse = System.currentTimeMillis() - start;
-// if (elapse > 5000) {
-// logger.error("[wal] flushBuffer cost: {}ms", elapse);
-// }
-// }
+ // finally {
+ // long elapse = System.currentTimeMillis() - start;
+ // if (elapse > 5000) {
+ // logger.error("[wal] flushBuffer cost: {}ms", elapse);
+ // }
+ // }
logBufferFlushing.clear();
try {