-
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
dm-relay/streamer: move binlog log reader into relay #3243
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. |
/cc @lichunzhu |
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
@lance6716 PTAL |
@glorv @lichunzhu PTAL |
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.
will review after some more urgent PRs
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.
rest lgtm
there're 2 cases that I can't decide.
- we plan to move remote reader into relay package, so the retry logic of remote reader is also moved.
Now retry logic is put in a separated file, that's quite small so I prefer we include it into remote_reader.go. (too many files under relay folder IMO 😂 ) - we plan to move relay log purger into relay package, so the strategy of purger is also moved.
The strategies are located in 4 files and they're not relevant to other files (except for purger), so I'd like to merge them intopurger_strategy.go
not a problem to me as long as we can difference between them |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 8a8c868
|
/run-all-tests |
/run-unit-test |
What problem does this PR solve?
it's first part of subtask 4 in #2214 of DM
no code logic change in this pr, to make review/merge easier
What is changed and how it works?
binlog/writer
to relayCheck List
no code logic change
Release note