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

   ### Motivation
   
   A decommission cannot complete for 4 hours, but we only saw "count of 
Ledgers which need to be rereplicated: 1", could not know the replication of 
which the ledger failed.
   
   ```
   2023-05-27T04:40:13,461+0000 [main] INFO  
org.apache.bookkeeper.client.BookKeeperAdmin - Count of Ledgers which need to 
be rereplicated: 713
   2023-05-27T04:50:13,512+0000 [main-EventThread] ERROR 
org.apache.bookkeeper.meta.CleanupLedgerManager - Failed on operating ledger 
metadata: -25(NoSuchLedgerExistsOnMetadataServerException)
   2023-05-27T04:50:13,830+0000 [main-EventThread] ERROR 
org.apache.bookkeeper.meta.CleanupLedgerManager - Failed on operating ledger 
metadata: -25(NoSuchLedgerExistsOnMetadataServerException)
   2023-05-27T04:50:13,939+0000 [main-EventThread] ERROR 
org.apache.bookkeeper.meta.CleanupLedgerManager - Failed on operating ledger 
metadata: -25(NoSuchLedgerExistsOnMetadataServerException)
   2023-05-27T04:50:14,014+0000 [main] INFO  
org.apache.bookkeeper.client.BookKeeperAdmin - Count of Ledgers which need to 
be rereplicated: 1
   2023-05-27T04:50:24,017+0000 [main] INFO  
org.apache.bookkeeper.client.BookKeeperAdmin - Count of Ledgers which need to 
be rereplicated: 1
   ......
   ......
   ......
   2023-05-27T05:37:24,844+0000 [main] INFO  
org.apache.bookkeeper.client.BookKeeperAdmin - Count of Ledgers which need to 
be rereplicated: 1
   ```
   
   ### Changes
   
   If decommission cannot complete for a long time, print the ledgerIds for 
troubleshooting
   
   


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