-
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
don't set proxy addr default value in tiflash code #3539
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. |
/run-all-tests |
Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/134/cobertura/ lines: 35.5% (43332 out of 122148) |
/run-all-tests |
Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/136/cobertura/ lines: 35.5% (43330 out of 122148) |
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.
File a PR to change these default ports ...
pingcap/tidb-engine-ext@6e72741
... to the ports that we defined in the official document
https://docs.pingcap.com/tidb/stable/hardware-and-software-requirements#network-requirements
/rebuild |
1 similar comment
/rebuild |
https://github.com/pingcap/tics/blob/master/etc/config-template.toml#L111-L112 |
/run-all-tests |
Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/161/cobertura/ lines: 35.5% (43338 out of 122148) |
/run-integration-test |
/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: 346c025
|
@@ -108,8 +108,8 @@ | |||
# config = "/proxy.toml" | |||
# log-file = "/log/proxy.log" | |||
# log-level = "info" | |||
# status-addr = "0.0.0.0:20181" | |||
# advertise-status-addr = "tiflash0:20181" |
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.
nit: Can also change these port in tests/docker/config/tiflash_dt.toml
Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/169/cobertura/ lines: 35.6% (43453 out of 122207) |
@hehechen the commit hash is illegal. |
What problem does this PR solve?
#3538
Problem Summary:
If
flash.proxy.addr
is set intiflash-learner.toml
,flash.proxy.addr
will be incorrectly set to127.0.0.1:20170
and theserver.addr
configuration intiflash-learner.toml
does not take effect.What is changed and how it works?
Don't set proxy addr default value in tiflash code. Left it to be set in the proxy code: https://github.com/pingcap/tidb-engine-ext/blob/defbe27e00ac7b40c4987bb58f265099effda83f/src/server/config.rs#L22
Related changes
pingcap/tidb-engine-ext#38
Check List
Tests
Release note