This is an automated email from the ASF dual-hosted git repository.
jmclean pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new a6e70739d [#4183] Updated notify to notifyAll (#4204)
a6e70739d is described below
commit a6e70739d85a98dbedc32cdc8b1f5333b447defc
Author: Ashwin Kherde <[email protected]>
AuthorDate: Thu Jul 18 20:15:34 2024 -0400
[#4183] Updated notify to notifyAll (#4204)
Fixes #4183
Co-authored-by: AKherde <[email protected]>
---
core/src/main/java/org/apache/gravitino/utils/ClientPoolImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/org/apache/gravitino/utils/ClientPoolImpl.java
b/core/src/main/java/org/apache/gravitino/utils/ClientPoolImpl.java
index 92a31513b..1ba200294 100644
--- a/core/src/main/java/org/apache/gravitino/utils/ClientPoolImpl.java
+++ b/core/src/main/java/org/apache/gravitino/utils/ClientPoolImpl.java
@@ -147,7 +147,7 @@ public abstract class ClientPoolImpl<C, E extends Exception>
clients.addFirst(client);
}
synchronized (signal) {
- signal.notify();
+ signal.notifyAll();
}
}