Skip to content
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

*: unify the receiver naming style #8677

Merged
merged 1 commit into from
Sep 29, 2024
Merged

*: unify the receiver naming style #8677

merged 1 commit into from
Sep 29, 2024

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Sep 29, 2024

What problem does this PR solve?

Issue Number: ref #8379.

What is changed and how does it work?

Checkers use c and schedulers use s, which is easier to do some replacement.

Check List

Tests

  • Unit test

Release note

None.

@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-linked-issue release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has signed the dco. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed do-not-merge/needs-linked-issue labels Sep 29, 2024
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Sep 29, 2024
@@ -36,13 +36,13 @@ func NewLearnerChecker(cluster sche.CheckerCluster) *LearnerChecker {
}

// Check verifies a region's role, creating an Operator if need.
func (l *LearnerChecker) Check(region *core.RegionInfo) *operator.Operator {
if l.IsPaused() {
func (c *LearnerChecker) Check(region *core.RegionInfo) *operator.Operator {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but commit message is reduce rand NewSource

Copy link
Member Author

@rleungx rleungx Sep 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to merge #8675 first

Copy link
Member

@okJiang okJiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait another pr merge.

lgtm

@rleungx rleungx requested a review from okJiang September 29, 2024 09:44
Copy link

codecov bot commented Sep 29, 2024

Codecov Report

Attention: Patch coverage is 94.11765% with 14 lines in your changes missing coverage. Please review.

Project coverage is 77.57%. Comparing base (25dedab) to head (66f2392).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8677      +/-   ##
==========================================
- Coverage   77.57%   77.57%   -0.01%     
==========================================
  Files         474      474              
  Lines       62359    62359              
==========================================
- Hits        48377    48375       -2     
- Misses      10425    10427       +2     
  Partials     3557     3557              
Flag Coverage Δ
unittests 77.57% <94.11%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Signed-off-by: Ryan Leung <rleungx@gmail.com>
@ti-chi-bot ti-chi-bot bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 29, 2024
Copy link
Contributor

ti-chi-bot bot commented Sep 29, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lhy1024, okJiang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Sep 29, 2024
Copy link
Contributor

ti-chi-bot bot commented Sep 29, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-09-29 07:26:25.415371244 +0000 UTC m=+166940.835584256: ☑️ agreed by lhy1024.
  • 2024-09-29 10:05:57.569637751 +0000 UTC m=+176512.989850762: ☑️ agreed by okJiang.

@ti-chi-bot ti-chi-bot bot merged commit 26ced22 into tikv:master Sep 29, 2024
25 checks passed
@rleungx rleungx deleted the rename3 branch September 29, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dco-signoff: yes Indicates the PR's author has signed the dco. lgtm release-note-none Denotes a PR that doesn't merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants