-
Notifications
You must be signed in to change notification settings - Fork 411
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
modify tiflash default config #3414
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
339bd9f
to
933ec28
Compare
1752bf6
to
d787e3d
Compare
You should file a PR to update the default value in https://github.com/pingcap/tidb-engine-ext first |
/run-integration-tests |
/run-unit-test |
done |
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[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.
Please make the configuration in /etc/config-template.toml
aligned with https://pingcap.feishu.cn/sheets/shtcnaMkj4g1USPo1TLEv3nRVLh
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
…t is not configured.
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.
Mostly LGTM.
@flowbehappy Please take another look
#define DEFAULT_MARK_CACHE_SIZE (5ULL * 1024 * 1024 * 1024) | ||
|
||
#define DEFAULT_METRICS_PORT 8234 | ||
|
||
#define DEFAULT_PROXY_ADDR "127.0.0.1:20170" | ||
|
||
#define DEFAULT_HTTP_PORT 8123 | ||
|
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.
Maybe we can define these constants near where we use them instead of in the Defines.h
? If we change them one day, it would make a lot of files need to be re-compiled.
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.
Maybe we can define these constants near where we use them instead of in the
Defines.h
? If we change them one day, it would make a lot of files need to be re-compiled.
I think it’s better to put the define of the default configuration together, just like the other default configurations in Defines.h
.
Co-authored-by: JaySon <[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
/merge |
@hehechen: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 72c91e5
|
What problem does this PR solve?
#3412
What is changed and how it works?
Proposal: https://pingcap.feishu.cn/sheets/shtcnaMkj4g1USPo1TLEv3nRVLh
What's Changed: Modify TiFlash default configuration value.
Related changes
pingcap/tidb-engine-ext#36
Check List
Tests
Release note