This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2.5
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.5 by this push:
new 948b323075b HBASE-26775 - add synchronized modifier to the toString()
method of ProcedureEvent.java (#4681)
948b323075b is described below
commit 948b323075bdf1705ad9b5fd0aa86f0624c6d55f
Author: ryakhovskiy <[email protected]>
AuthorDate: Mon Aug 8 12:03:40 2022 +0200
HBASE-26775 - add synchronized modifier to the toString() method of
ProcedureEvent.java (#4681)
Signed-off-by: Duo Zhang <[email protected]>
(cherry picked from commit 74726617b8418f9cd0b1f3ae209cfc42adbf26cd)
---
.../main/java/org/apache/hadoop/hbase/procedure2/ProcedureEvent.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureEvent.java
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureEvent.java
index ab1929fb8ce..63aadcbb4d4 100644
---
a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureEvent.java
+++
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureEvent.java
@@ -126,7 +126,7 @@ public class ProcedureEvent<T> {
}
@Override
- public String toString() {
+ public synchronized String toString() {
return getClass().getSimpleName() + " for " + object + ", ready=" +
isReady() + ", "
+ suspendedProcedures;
}