-
Notifications
You must be signed in to change notification settings - Fork 727
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
schedule: add enable-joint-consensus config #2955
Conversation
Signed-off-by: Zheng Xiangsheng <[email protected]>
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
@@ -755,6 +758,7 @@ const ( | |||
defaultSchedulerMaxWaitingOperator = 5 | |||
defaultLeaderSchedulePolicy = "count" | |||
defaultStoreLimitMode = "manual" | |||
defaultEnableJointConsensus = true |
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.
will we start it by default?
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.
Yes, it improves stability. And this is on the master
branch. If there are some bugs with this feature, we can turn it off on the release
branch.
func (o *PersistOptions) IsDebugMetricsEnabled() bool { | ||
return o.GetScheduleConfig().EnableDebugMetrics | ||
} | ||
|
||
// IsUseJointConsensus returns if using joint consensus as a operator step is enabled. | ||
func (o *PersistOptions) IsUseJointConsensus() bool { |
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.
is use?
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.
just like IsUseRegionStorage
/merge |
/run-all-tests |
@HunDunDM merge failed. |
/merge |
Your auto merge job has been accepted, waiting for:
|
/merge |
Your auto merge job has been accepted, waiting for:
|
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@HunDunDM merge failed. |
/run-all-tests |
Signed-off-by: Zheng Xiangsheng [email protected]
What problem does this PR solve?
For details, please refer to #2860
What is changed and how it works?
enable-joint-consensus
configCheck List
Code changes
Release note
enable-joint-consensus
config