Ivan, I think we already have similar interface in LedgerManager, "LedgerRangeIterator getLedgerRanges()". I think it would be quite straightforward to expose it.
-Sijie On Wed, Feb 6, 2013 at 7:41 AM, Ivan Kelly <[email protected]> wrote: > On Wed, Feb 06, 2013 at 10:29:02AM -0500, Whitney Sorenson wrote: > > I think adding isClosed is a step in the right direction, but I'd > > also like to see a method like BkAdmin#getLedgerIds - that way I > > don't need to track the list of ledger ids in zk myself. > We already have a jira for this > https://issues.apache.org/jira/browse/BOOKKEEPER-257 > > A scanner type interface would be best for this though, so that if > there's a lot of ledger ids, we wouldn't run out of memory etc. > > -Ivan > > >
