The motivation LGTM. But I am not sure if it's possible to implement at client side, without adding a new admin API? My main concern is this method may run for quite a while. And it's not easy to see the progress if it's implemented on the server.
Thanks, Haiting On Tue, Jan 30, 2024 at 6:50 PM Jie crossover <crossover...@gmail.com> wrote: > > Hi dev, > I proposed a PIP: https://github.com/apache/pulsar/pull/21988 > > Sometimes we need to check if there are any orphan ledgers in the > bookkeeper. > So I'm planning to create an admin API. > > Specific implementation logic is referred to in this link > <https://docs.streamnative.io/platform/pck-tutorial#find-orphan-ledgers-from-bookie> > . > > Please take a look and give your feedback. > -- > Best Regards! > crossoverJie