Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Modify file segment construct method #8976

Closed
1 task done
lizhimins opened this issue Nov 23, 2024 · 0 comments · Fixed by #8977
Closed
1 task done

[Enhancement] Modify file segment construct method #8976

lizhimins opened this issue Nov 23, 2024 · 0 comments · Fixed by #8977

Comments

@lizhimins
Copy link
Member

Before Creating the Enhancement Request

  • 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.

当前分级存储模块使用单例方式使用线程池,为了更好的在 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant