When I remodeled this time, it was divided into several parts: 1. SortedLedgerStorage supports multiple dirs 2. Changes to tool classes (InterleavedStorageRegenerateIndexOp, LedgersIndexRebuildOp, LocationsIndexRebuildOp) 3. LedgerDirManager single directory transformation
Enrico Olivelli <eolive...@gmail.com> 于2022年7月13日周三 18:15写道: > Il giorno mer 13 lug 2022 alle ore 12:12 steven lu > <lushiji2...@gmail.com> ha scritto: > > > > only about refactoring BK code 😀 > > Great. > I think we can do the improvements you propose > > Enrico > > > > > Enrico Olivelli <eolive...@gmail.com> 于2022年7月13日周三 17:25写道: > > > > > Steven, > > > > > > Il giorno mer 13 lug 2022 alle ore 09:25 steven lu > > > <lushiji2...@gmail.com> ha scritto: > > > > > > > > old structure of LedgerDirsManager brings a lot of usage problem: > > > > 1. LedgerDirsManager is not equal to other structures (for example: > > > > DefaultEntryLogger ) and cannot be 1-to-1 > > > > 2. so we need to split into multiple LedgerDirsManager with only one > dir > > > > > > > > this bring tedious conversion, and it is easy for developers to > forget, > > > > resulting in conversion problems, > > > > so I want to modify the structure of LedgerDirsManager: > > > > 1. change it to LedgerDirManager(just only corresponds to one dir) > > > > 2. when more than one is needed, use list to store > > > > > > > > > Are you talking about changing the directory layout or only about > > > refactoring BK code ? > > > > > > > > > Enrico > > > >