gaozhangmin opened a new issue #11320:
URL: https://github.com/apache/pulsar/issues/11320


   As title, When bookie is lost, the ledger which state is open cannot 
replicated because of reading lac from failed bookie.
   it would failed read lac from failed bookie, because it cannot be connected.
   
   How bookkeeper auto recovery deal with open ledger in failed bookie ? for 
lost
   
   
   The error log:
   ```
   12:29:57.072 [main-EventThread] INFO  
org.apache.bookkeeper.client.DefaultBookieAddressResolver - Cannot resolve 
x.x.x.x:3181, bookie is unknown 
org.apache.bookkeeper.client.BKException$BKBookieHandleNotAvailableException: 
Bookie handle is not available
   12:29:57.072 [main-EventThread] ERROR 
org.apache.bookkeeper.proto.PerChannelBookieClient - Cannot connect to 
x.x.x.x:3181 as endpoint resolution failed (probably bookie is down) err 
org.apache.bookkeeper.proto.BookieAddressResolver$BookieIdNotResolvedException: 
Cannot resolve bookieId x.x.x.x:3181, bookie does not exist or it is not running
   12:29:57.078 [BookKeeperClientWorker-OrderedExecutor-29-0] INFO  
org.apache.bookkeeper.client.PendingReadLacOp - While readLac ledger: 96789 did 
not hear success responses from all of ensemble
   12:29:57.078 [ReplicationWorker] INFO  
org.apache.bookkeeper.replication.ReplicationWorker - BKReadException while 
rereplicating ledger 96789. Enough Bookies might not have available So, no harm 
to continue
   ````


-- 
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