-
Notifications
You must be signed in to change notification settings - Fork 288
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
context: uniform the import naming of context, part 1 #1773
Conversation
/lgtm |
@ben1009: 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 ti-community-infra/tichi repository. |
// Load TableStatus with THREAD-SAFE | ||
func (s *TableStatus) Load() TableStatus { | ||
return TableStatus(atomic.LoadInt32((*int32)(s))) | ||
} | ||
|
||
func (s *TableStatus) store(new TableStatus) { | ||
// Store TableStatus with THREAD-SAFE | ||
func (s *TableStatus) Store(new TableStatus) { | ||
atomic.StoreInt32((*int32)(s), int32(new)) | ||
} |
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 Load
and Store
be used by other packages?
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.
yes, in the new owner, for test only
/lgtm |
/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 |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 1df82a0
|
Codecov Report
@@ Coverage Diff @@
## master #1773 +/- ##
================================================
- Coverage 54.0130% 52.8686% -1.1444%
================================================
Files 155 153 -2
Lines 16459 15896 -563
================================================
- Hits 8890 8404 -486
+ Misses 6630 6583 -47
+ Partials 939 909 -30 |
Signed-off-by: ti-chi-bot <[email protected]>
In response to a cherrypick label: new pull request created: #1774. |
Signed-off-by: ti-chi-bot <[email protected]>
In response to a cherrypick label: new pull request created: #1775. |
What problem does this PR solve?
all context of std lib should be named as
context
all context of cdc package should be named as
cdcContext
this pr modified the code in
ticdc/cdc/processor/pipeline
package.Check List
Tests
Release note