This is an automated email from the ASF dual-hosted git repository.
tanxinyu 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 680811a fix rollback 3 wait
680811a is described below
commit 680811ace4448e8dc723fdb66611919e65e21410
Author: LebronAl <[email protected]>
AuthorDate: Wed Aug 4 21:26:34 2021 +0800
fix rollback 3 wait
---
.../org/apache/iotdb/db/writelog/node/ExclusiveWriteLogNode.java | 5 ++---
1 file changed, 2 insertions(+), 3 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 d696bb2..9e8bdb6 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
@@ -339,9 +339,8 @@ public class ExclusiveWriteLogNode implements WriteLogNode,
Comparable<Exclusive
switchBufferCondition.wait();
}
logBufferFlushing = logBufferWorking;
- logBufferWorking = logBufferIdle;
- logBufferWorking.clear();
- logBufferIdle = null;
+ logBufferWorking = null;
+ switchBufferCondition.notifyAll();
}
}