bookkeeper icon indicating copy to clipboard operation
bookkeeper copied to clipboard

Fix getLedgerDirsListener

Open gaozhangmin opened this issue 2 years ago • 3 comments

Motivation

The ledgerDirsListener in SingleDirectoryDbLedgerStorage is currently triggered by a ledger directory that does not belong to this storage.

Changes

To address this issue, we can introduce a comparison step to verify the ownership of the ledger directory before triggering the listeners. This way, the ledgerDirsListener will only be triggered for the directories that are associated with the storage.

gaozhangmin avatar Jul 06 '23 06:07 gaozhangmin

rerun failure checks

gaozhangmin avatar Jul 06 '23 07:07 gaozhangmin

rerun failure checks

gaozhangmin avatar Jul 07 '23 02:07 gaozhangmin

@hangc0276 PTAL

gaozhangmin avatar Jul 18 '23 02:07 gaozhangmin