From fe729a992045e3283da543545647802432143b90 Mon Sep 17 00:00:00 2001 From: haxiaolin Date: Thu, 10 Mar 2022 11:41:28 +0800 Subject: [PATCH] update codes, do not use synchronized --- .../hadoop/hbase/regionserver/wal/AsyncProtobufLogWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncProtobufLogWriter.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncProtobufLogWriter.java index 6d04c00fc629..8dcd1b7fb063 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncProtobufLogWriter.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncProtobufLogWriter.java @@ -172,7 +172,7 @@ public synchronized void close() throws IOException { } @Override - public synchronized void closeWithoutTrailer() { + public void closeWithoutTrailer() { if (this.output == null) { return; }