-
Notifications
You must be signed in to change notification settings - Fork 188
Proposal: Binlog replication(syncer) unit support plugin #596
Conversation
Codecov Report
@@ Coverage Diff @@
## master #596 +/- ##
================================================
- Coverage 58.5644% 57.6947% -0.8698%
================================================
Files 204 203 -1
Lines 21344 20579 -765
================================================
- Hits 12500 11873 -627
+ Misses 7671 7557 -114
+ Partials 1173 1149 -24 |
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
/run-all-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.
rest LGTM
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
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
docs/RFCS/20200412_syncer_plugin.md
Outdated
|
||
`HandleDMLJobResult` handle the result of [handleRowsEvent](https://github.com/pingcap/dm/blob/9023c789964fde0f5134e0c49435db557e21fdf7/syncer/syncer.go#L1274) and then do something. | ||
|
||
NOTE: We use `runFatalChan` to report errors between goroutines for executing ddl and dml, and the `err` of `handleQueryEvent` and `handleRowsEvent` don't contain the real error messag. Need to refine it. |
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.
The atomic error execError
used in this #605 may fix this problem 🤔
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.
ok, I delete this note in 4e6b864
Co-authored-by: Chunzhu Li <lichunzhu@stu.xjtu.edu.cn>
/run-all-tests |
1 similar comment
/run-all-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
What problem does this PR solve?
Add a proposal for supporting plugin in binlog replication(syncer) unit