Hi, Chia-Ping,

It seems that the main issue with frequent segment rolling is the increased
open file descriptors. Rolls bue to  retention.ms doesn't have this issue
since the rolled segment will be deleted immediately. So, we can leave the
implementation of  retention.ms as it is.

Thanks,

Jun

On Sun, Aug 10, 2025 at 11:18 PM Chia-Ping Tsai <chia7...@gmail.com> wrote:

> hi ding
>
> Thanks for your response!
>
> You are right. Disabling the deletion of a single segment could cause
> issues in the cloud.
>
> One possible solution is to add a special validation that allows a
> negative value, but enforces a positive lower bound when applicable
>
> @Jun @Divij WDYT?
>
> Best,
> Chia-Ping
>
>
> > isding_l <isdin...@163.com> 於 2025年8月11日 上午9:24 寫道:
> >
> > Perhaps we could add a special validation logic for `retention.ms`?
>

Reply via email to