Re: [DISCUSS] Deletion of Current Ledger upon Rollover

2024-02-06 Thread Xiangying Meng
>The problem is that if the ledger is deleted, the next time a client produces a message, a new ledger needs to be opened. This is an operation that may take some time, disrupting latency. Hi Enrico, I think there may be some misunderstandings. If the state of the managerLedger is `ClosedLedger`,

Re: [DISCUSS] Deletion of Current Ledger upon Rollover

2024-02-06 Thread Enrico Olivelli
Xiangying Il giorno mar 6 feb 2024 alle ore 13:01 Xiangying Meng ha scritto: > > Dear Community, > > I hope this message finds you well. I am writing to discuss a modification > to the behavior of deleting the current ledger. As you may know, in Pulsar, > the current ledger cannot be deleted beca

[DISCUSS] Deletion of Current Ledger upon Rollover

2024-02-06 Thread Xiangying Meng
Dear Community, I hope this message finds you well. I am writing to discuss a modification to the behavior of deleting the current ledger. As you may know, in Pulsar, the current ledger cannot be deleted because it may still be written to. However, there is an exception. When the current ledger is