-
Notifications
You must be signed in to change notification settings - Fork 188
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. |
e707050
to
b440fe9
Compare
3125b7a
to
fb21efe
Compare
ceaa828
to
90b2505
Compare
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.
Besides, can we add some metrics for server info like UpTime, Goroutines and add more graphs for dumpling progress?
We can do these things in next PR
syncer/syncer.go
Outdated
tpCnt := make(map[opType]int64) | ||
// db_schema->db_table->opType | ||
tpCnt := make(map[string]map[string]map[opType]int64) | ||
queueID := strings.Split(workerLagKey, "lag_")[0] |
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.
Why not use TrimPrefix
here?
@lichunzhu: GitHub didn't allow me to request PR reviews from the following users: WDYT. Note that only pingcap members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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
/merge |
This pull request has been accepted and is ready to merge. Commit hash: e23edc9
|
In response to a cherrypick label: new pull request created: #2057. |
@@ -221,7 +224,13 @@ func (w *Worker) run(ctx context.Context, fileJobQueue chan *fileJob, runFatalCh | |||
hasError = true | |||
continue | |||
} | |||
w.loader.finishedDataSize.Add(job.offset - job.lastOffset) |
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.
why do this change?
What problem does this PR solve?
close #1451
What is changed and how it works?
Check List
Tests
Code changes
Side effects
Related changes
dm/dm-ansible