You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/09/17 22:41:59 UTC

[GitHub] jvrao commented on a change in pull request #1682: Added BlockingQueue implementation based on JCtools

jvrao commented on a change in pull request #1682: Added BlockingQueue implementation based on JCtools
URL: https://github.com/apache/bookkeeper/pull/1682#discussion_r218250574
 
 

 ##########
 File path: bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/ReadEntryProcessorV3.java
 ##########
 @@ -236,6 +236,10 @@ protected ReadResponse getReadResponse() {
         } catch (IOException e) {
             LOG.error("IOException while reading entry: {} from ledger {} ", entryId, ledgerId, e);
             return buildResponse(readResponse, StatusCode.EIO, startTimeSw);
+        } catch (InterruptedException e) {
+            Thread.currentThread().interrupt();
+            LOG.error("InterruptedException while reading entry: {} from ledger {} ", entryId, ledgerId, e);
+            return buildResponse(readResponse, StatusCode.EIO, startTimeSw);
 
 Review comment:
   Same EIO? What can cause interrupted exception here? other than obvious kill -9 <PID> ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services