Hi Cong, Just provide some context about this part.
https://github.com/apache/pulsar/pull/6787 There is a long discussion about the topic you mentioned. Regards, Penghui On Wed, Aug 16, 2023 at 8:24 PM Cong Zhao <zhaoc...@apache.org> wrote: > Hi Pulsar community, > > Currently, the ledger is trimmed without taking NonDurableCursor into > account, which may cause the reader to lose some of its messages. > > I think we should prevent ledgers smaller than or equal to > 'slowestNonDurationLedgerId' from being trimmed during trimming ledgers. > > Looking forward to your feedback! > > Best regards, > Cong Zhao >