This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch DeadLockLog
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/DeadLockLog by this push:
new a2ea97e deduplicate logs
a2ea97e is described below
commit a2ea97ed1d03f8c85d4e70d42cab423a8edc3bf9
Author: JackieTien97 <[email protected]>
AuthorDate: Thu Apr 15 11:14:47 2021 +0800
deduplicate logs
---
.../iotdb/db/engine/storagegroup/StorageGroupProcessor.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
index 398e599..de371d7 100755
---
a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
+++
b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
@@ -1485,28 +1485,28 @@ public class StorageGroupProcessor {
public void readLock() {
insertLock.writeLock().lock();
if (config.isDebugOn()) {
- LOCK_LOGGER.info("{} insert read lock is held by {}", storageGroupName,
Thread.currentThread().getName());
+ LOCK_LOGGER.info("{} insert read lock is locked", storageGroupName);
}
}
public void readUnlock() {
insertLock.writeLock().unlock();
if (config.isDebugOn()) {
- LOCK_LOGGER.info("{} insert read lock is unlocked by {}",
storageGroupName, Thread.currentThread().getName());
+ LOCK_LOGGER.info("{} insert read lock is unlocked", storageGroupName);
}
}
public void writeLock() {
insertLock.writeLock().lock();
if (config.isDebugOn()) {
- LOCK_LOGGER.info("{} insert write lock is held by {}", storageGroupName,
Thread.currentThread().getName());
+ LOCK_LOGGER.info("{} insert write lock is locked", storageGroupName);
}
}
public void writeUnlock() {
insertLock.writeLock().unlock();
if (config.isDebugOn()) {
- LOCK_LOGGER.info("{} insert write lock is unlocked by {}",
storageGroupName, Thread.currentThread().getName());
+ LOCK_LOGGER.info("{} insert write lock is unlocked", storageGroupName);
}
}