-
Notifications
You must be signed in to change notification settings - Fork 289
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
cmd: support pause/resume/remove changefeed #546
Conversation
Signed-off-by: Neil Shen <[email protected]>
Signed-off-by: Neil Shen <[email protected]>
Signed-off-by: Neil Shen <[email protected]>
/run-integration-tests |
Signed-off-by: Neil Shen <[email protected]>
/run-integration-tests |
cdc/http_status.go
Outdated
go func() { | ||
err := s.statusServer.ListenAndServe() | ||
ln, err := net.Listen("tcp", addr) |
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.
move this line out of this goroutine? we can avoid to using error channel
Signed-off-by: Neil Shen <[email protected]>
…to cli/manage-changefeed
/run-integration-tests PTAL, thanks |
Signed-off-by: Neil Shen <[email protected]>
/run-integration-tests |
CDC is going to replace `status-add` with `addr` and `advertise-addr` in pingcap/ticdc#546.
Signed-off-by: Neil Shen <[email protected]>
/run-integration-tests |
Codecov Report
@@ Coverage Diff @@
## master #546 +/- ##
================================================
+ Coverage 31.4302% 31.8208% +0.3905%
================================================
Files 70 70
Lines 6831 6854 +23
================================================
+ Hits 2147 2181 +34
+ Misses 4525 4512 -13
- Partials 159 161 +2 |
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
Signed-off-by: Neil Shen <[email protected]>
/run-integration-tests |
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
btw, as this PR changes |
* cdc, cmd: add status address to capture info Signed-off-by: Neil Shen <[email protected]> * tests: adjust start_cdc_server Signed-off-by: Neil Shen <[email protected]> * cmd: support pause/resume/remove changefeed Signed-off-by: Neil Shen <[email protected]> * fix test Signed-off-by: Neil Shen <[email protected]> * address comments Signed-off-by: Neil Shen <[email protected]> * cdc, cmd: replace status address with address and advertise address Signed-off-by: Neil Shen <[email protected]> * correct parameter Signed-off-by: Neil Shen <[email protected]> * use address in PD Signed-off-by: Neil Shen <[email protected]>
What problem does this PR solve?
Cc pingcap/ticdc#542
Check List
Tests
Code changes
Related changes
Release note