-
Notifications
You must be signed in to change notification settings - Fork 287
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 <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
/run-integration-tests |
/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 <overvenus@gmail.com>
…to cli/manage-changefeed
/run-integration-tests PTAL, thanks |
Signed-off-by: Neil Shen <overvenus@gmail.com>
/run-integration-tests |
CDC is going to replace `status-add` with `addr` and `advertise-addr` in https://github.com/pingcap/ticdc/pull/546.
Signed-off-by: Neil Shen <overvenus@gmail.com>
/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 <overvenus@gmail.com>
/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 <overvenus@gmail.com> * tests: adjust start_cdc_server Signed-off-by: Neil Shen <overvenus@gmail.com> * cmd: support pause/resume/remove changefeed Signed-off-by: Neil Shen <overvenus@gmail.com> * fix test Signed-off-by: Neil Shen <overvenus@gmail.com> * address comments Signed-off-by: Neil Shen <overvenus@gmail.com> * cdc, cmd: replace status address with address and advertise address Signed-off-by: Neil Shen <overvenus@gmail.com> * correct parameter Signed-off-by: Neil Shen <overvenus@gmail.com> * use address in PD Signed-off-by: Neil Shen <overvenus@gmail.com>
What problem does this PR solve?
Cc https://github.com/pingcap/ticdc/issues/542
Check List
Tests
Code changes
Related changes
Release note