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

yong pushed a commit to branch branch-4.14
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/branch-4.14 by this push:
     new 3647cd8  change log level from error to warn in getReadLacResponse 
(#2757)
3647cd8 is described below

commit 3647cd8ab19b81496134d01933844f631192b3ef
Author: frankxieke <[email protected]>
AuthorDate: Fri Aug 13 11:17:34 2021 +0800

    change log level from error to warn in getReadLacResponse (#2757)
    
    (cherry picked from commit 67f934e5d1ccab5eab1053d808f65cd7cf1c70c4)
---
 .../src/main/java/org/apache/bookkeeper/proto/ReadLacProcessorV3.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/ReadLacProcessorV3.java
 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/ReadLacProcessorV3.java
index c7757bb..6afbbc1 100644
--- 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/ReadLacProcessorV3.java
+++ 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/ReadLacProcessorV3.java
@@ -90,6 +90,9 @@ class ReadLacProcessorV3 extends PacketProcessorBaseV3 
implements Runnable {
         } catch (Bookie.NoLedgerException e) {
             status = StatusCode.ENOLEDGER;
             logger.debug("No ledger found while trying to read last entry: 
{}", ledgerId, e);
+        } catch (Bookie.NoEntryException e) {
+            status = StatusCode.ENOENTRY;
+            logger.warn("No Entry found while trying to read last entry: {}", 
ledgerId, e);
         } catch (IOException e) {
             status = StatusCode.EIO;
             logger.error("IOException while trying to read last entry: {}", 
ledgerId, e);

Reply via email to