-
Notifications
You must be signed in to change notification settings - Fork 286
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
kv/client: fix time is not updated when receiving committed event #1847
Conversation
/run-all-tests |
err = failpoint.Enable("github.com/pingcap/ticdc/cdc/kv/kvClientReconnectInterval", "return(3)") | ||
c.Assert(err, check.IsNil) | ||
originalReconnectInterval := reconnectInterval | ||
reconnectInterval = 3 * time.Second |
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.
Is it possible for the race detector to complain about this?
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.
No, the test cases run in sequence. (The original code also changes the global value, but triggered by the failpoint)
any command to cancel LGTM? /unlgtm |
fine, I have to review this PR ASAP |
/run-unit-tests |
/lgtm |
[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 writing |
@leoppro try |
Codecov Report
@@ Coverage Diff @@
## master #1847 +/- ##
================================================
+ Coverage 53.4083% 53.7004% +0.2920%
================================================
Files 154 157 +3
Lines 16166 16309 +143
================================================
+ Hits 8634 8758 +124
+ Misses 6608 6603 -5
- Partials 924 948 +24 |
/lgtm |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: f2b753c
|
/merge |
/run-leak-tests |
/run-all-tests |
/run-leak-tests |
/run-integration-tests |
/merge |
/run-kafka-tests |
In response to a cherrypick label: new pull request created: #1856. |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created: #1857. |
What problem does this PR solve?
Fix a bug in kv client v2 that committed events are not counted in event ts manager
What is changed and how it works?
Check List
Tests
Release note