horizonzy opened a new pull request, #4113:
URL: https://github.com/apache/bookkeeper/pull/4113

   When AutoRecovery working, it will replicate the data from the shutdown 
bookie to another living bookie. So there are lots of logs about the shutdown 
bookie.
   
   Like: 
   ```
   2023-10-19T18:33:52,042 - ERROR - 
[BookKeeperClientWorker-OrderedExecutor-3-0:PerChannelBookieClient@563] - 
Cannot connect to 192.168.31.216:3181 as endpoint resolution failed (probably 
bookie is down) err 
org.apache.bookkeeper.proto.BookieAddressResolver$BookieIdNotResolvedException: 
Cannot resolve bookieId 192.168.31.216:3181, bookie does not exist or it is not 
running
   ```
   
   ```
   2023-10-19T18:33:52,042 - INFO  - 
[BookKeeperClientWorker-OrderedExecutor-3-0:DefaultBookieAddressResolver@77] - 
Cannot resolve 192.168.31.216:3181, bookie is unknown 
org.apache.bookkeeper.client.BKException$BKBookieHandleNotAvailableException: 
Bookie handle is not available
   
   ```
   
   ```
   2023-10-19T18:33:52,042 - INFO  - 
[BookKeeperClientWorker-OrderedExecutor-3-0:PendingReadOp$LedgerEntryRequest@223]
 - Error: Bookie handle is not available while reading L6 E40 from bookie: 
192.168.31.216:3181
   
   ```
   
   So we can add a flag to control the Bookie handle not available log level.
   
   I have test the change at my local.
   
   Before:
   [before.txt](https://github.com/apache/bookkeeper/files/13041394/before.txt)
   
   
   After:
   [atfer.txt](https://github.com/apache/bookkeeper/files/13041395/atfer.txt)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to