[X] I have confirmed that this should be classified as an enhancement rather than a bug/feature.
Summary
Currently tiered storage module uses a singleton pattern to use thread pool. To better manage the thread pool's lifecycle within the fileSegment, it is necessary to modify the constructor of fileSegment. This is an internal implementation of the broker and will not affect client API.
Before Creating the Enhancement Request
Summary
Currently tiered storage module uses a singleton pattern to use thread pool. To better manage the thread pool's lifecycle within the fileSegment, it is necessary to modify the constructor of fileSegment. This is an internal implementation of the broker and will not affect client API.
当前分级存储模块使用单例方式使用线程池,为了更好的在 fileSegment 中使用线程池,管理线程池的生命周期,因此需要修改 fileSegment 的构造函数,这是一个 broker 内部实现,不会对用户产生影响
Motivation
To better manage the thread pool's lifecycle
Describe the Solution You'd Like
Modify the constructor of fileSegment
Describe Alternatives You've Considered
Modify the constructor of fileSegment
Additional Context
No response