-
Notifications
You must be signed in to change notification settings - Fork 312
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
playground: add tiproxy #2202
playground: add tiproxy #2202
Conversation
[REVIEW NOTIFICATION] This pull request has not been approved. 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. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2202 +/- ##
==========================================
- Coverage 56.08% 50.23% -5.85%
==========================================
Files 320 320
Lines 33891 34006 +115
==========================================
- Hits 19005 17080 -1925
- Misses 12615 14687 +2072
+ Partials 2271 2239 -32
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Signed-off-by: xhe <xw897002528@gmail.com>
|
||
config.Set("proxy.pd-addrs", strings.Join(endpoints, ",")) | ||
config.Set("proxy.addr", utils.JoinHostPort(c.Host, c.Port)) | ||
config.Set("proxy.require-backend-tls", false) |
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.
As TiUP Playground uses security.auto-tls=true
, can we enable TLS to the backend? Or is this enabled, but just not enforced?
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, the latter. Just not enforced. When clients connects tiproxy with TLS, TLS is enabled.
rest LGTM |
Co-authored-by: Daniël van Eeden <github@myname.nl>
Signed-off-by: xhe <xw897002528@gmail.com>
Done, PTAL |
/lgtm |
[LGTM Timeline notifier]Timeline:
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaaaaaaang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@xhebox |
@xhebox TiProxy will use 4000 as its port --> 6000? |
Done |
thank you. 6️⃣6️⃣6️⃣ |
What problem does this PR solve?
What is changed and how it works?
Check List
Tests
Code changes
Side effects
Related changes
Release notes: