-
Notifications
You must be signed in to change notification settings - Fork 214
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
[conf][server] Make the size of the threads pool in tablet server scheduler configurable. #126
Conversation
@@ -210,6 +210,13 @@ public class ConfigOptions { | |||
"This configuration controls the directory where fluss will store its data. " | |||
+ "The default value is /tmp/fluss-data"); | |||
|
|||
public static final ConfigOption<Integer> SCHEDULER_THREADS = | |||
key("scheduler.threads") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tablet-server.scheduler.threads?
TABLET_SERVER_SCHEDULER_THREADS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RocMarshal Thanks for the contribution. I left some comments.
@@ -202,6 +202,13 @@ public class ConfigOptions { | |||
.noDefaultValue() | |||
.withDescription("The id for the tablet server."); | |||
|
|||
public static final ConfigOption<Integer> TABLET_SERVER_SCHEDULER_THREADS = | |||
key("tablet-server.scheduler.threads") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
server.background.threads
for simplification
.intType() | ||
.defaultValue(10) | ||
.withDescription( | ||
"This configuration item to set the core threads for the fluss scheduler in tablet servers."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"The number of threads to use for various background processing tasks."
Besides, please rebase branch to latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks all~ |
… of server scheduler (alibaba#126) This closes alibaba#125
Purpose
Make the size of the threads pool in tablet server scheduler configurable.
Linked issue: close #125
Tests
N.A
API and Format
N.A
Documentation
N.A