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

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


The following commit(s) were added to refs/heads/master by this push:
     new 7f62bae  BookieRequestProcessor: shutdown the longPollThreadPool as 
well
7f62bae is described below

commit 7f62baec18ba8aa0d2d01134b7c5adfc25c49d42
Author: Samuel Just <[email protected]>
AuthorDate: Fri Jan 5 01:10:44 2018 -0800

    BookieRequestProcessor: shutdown the longPollThreadPool as well
    
    Signed-off-by: Samuel Just <sjustsalesforce.com>
    
    Author: Samuel Just <[email protected]>
    
    Reviewers: Enrico Olivelli <[email protected]>, Jia Zhai <None>, Sijie 
Guo <[email protected]>
    
    This closes #938 from athanatos/forupstream/requestprocessorfixes/1
---
 .../main/java/org/apache/bookkeeper/proto/BookieRequestProcessor.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieRequestProcessor.java
 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieRequestProcessor.java
index 3f2edff..9b5421f 100644
--- 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieRequestProcessor.java
+++ 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieRequestProcessor.java
@@ -189,6 +189,7 @@ public class BookieRequestProcessor implements 
RequestProcessor {
     public void close() {
         shutdownExecutor(writeThreadPool);
         shutdownExecutor(readThreadPool);
+        shutdownExecutor(longPollThreadPool);
     }
 
     private OrderedSafeExecutor createExecutor(int numThreads, String 
nameFormat, int maxTasksInQueue) {

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to