Open sijie opened 6 years ago
Why does it need to do it if the ledger is already closed?
@ivankelly this was an admin tool to handle production issues when there was bug in bookkeeper recovery.
👍 out of interest, do you recall what the bug was?
@ivankelly it was the bug in ledger recovery - it recorded the wrong last entry id. it was 2-3 years ago, I can't remember what exactly was that.
FEATURE REQUEST
Currently distributedlog tool provides a command for force-recovering a ledger (even the ledger is already closed). distributedlog achieves this by using some package private method in LedgerHandle. It would be good to add this method in BookKeeperAdmin for administration. so distributedlog can get rid of using package private method in LedgerHandle.
should-have
N/A