This is an automated email from the ASF dual-hosted git repository.

szetszwo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new c10e7bc8d RATIS-2076. Intermittent timeout in 
TestRaftWithNetty#testWithLoad. (#1090)
c10e7bc8d is described below

commit c10e7bc8dce8ebea031592b56f90af4cd40235fd
Author: Tsz-Wo Nicholas Sze <[email protected]>
AuthorDate: Sat May 11 09:53:17 2024 -0700

    RATIS-2076. Intermittent timeout in TestRaftWithNetty#testWithLoad. (#1090)
---
 .../src/main/java/org/apache/ratis/server/impl/LeaderElection.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ratis-server/src/main/java/org/apache/ratis/server/impl/LeaderElection.java 
b/ratis-server/src/main/java/org/apache/ratis/server/impl/LeaderElection.java
index d738c8757..b31fbaba6 100644
--- 
a/ratis-server/src/main/java/org/apache/ratis/server/impl/LeaderElection.java
+++ 
b/ratis-server/src/main/java/org/apache/ratis/server/impl/LeaderElection.java
@@ -143,7 +143,7 @@ class LeaderElection implements Runnable {
     }
 
     void shutdown() {
-      executor.shutdown();
+      executor.shutdownNow();
     }
 
     void submit(Callable<RequestVoteReplyProto> task) {

Reply via email to