Re: [DISCUSS] Remove the limitation between backlog quota and retention policy

2024-04-10 Thread 太上玄元道君
the limitation seems make no sense, after http://github.com/apache/pulsar/pull/22472 merged, I'll try to fix it. Thanks, Tao Jiuming Yike Xiao 于2024年4月10日 周三16:58写道: > Here's a hint as to why this restriction was introduced. > After reviewing the current implementation of the retention policy, I

Re: [DISCUSS] Remove the limitation between backlog quota and retention policy

2024-04-10 Thread Yike Xiao
Here's a hint as to why this restriction was introduced. After reviewing the current implementation of the retention policy, I found that the logic for determining whether a ledger exceeds the retention size and should be deleted is based on the following logic (pseudocode): ``` long totalSizeTo