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

chore: code fixing, remove redundant and add missing #880

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

lxl66566
Copy link
Collaborator

@lxl66566 lxl66566 commented Jul 11, 2024

Please briefly answer these questions:

  • what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)

    • redundant .field in KvClient and LeaseClient
  • what changes does this pull request make?

    1. remove redundant .field in KvClient and LeaseClient
    2. add a missing test case for quorum_should_work() test, corresponding to the above node(10).
    3. (trivial) change for loop to sum() in raw_curp/log.rs
  • are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

    • no

@mergify mergify bot requested a review from a team July 11, 2024 06:18
Copy link

codecov bot commented Jul 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.21%. Comparing base (e35b35a) to head (f4684b5).
Report is 318 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #880      +/-   ##
==========================================
- Coverage   75.55%   75.21%   -0.35%     
==========================================
  Files         180      190      +10     
  Lines       26938    28480    +1542     
  Branches    26938    28480    +1542     
==========================================
+ Hits        20353    21420    +1067     
- Misses       5366     5761     +395     
- Partials     1219     1299      +80     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@CrystalAnalyst
Copy link
Contributor

@bsbds Please take at a look.

Copy link
Collaborator

@Phoenix500526 Phoenix500526 left a comment

Choose a reason for hiding this comment

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

LGTM. Please initiate a pr to the xline-proto repo and squash these commits

@lxl66566
Copy link
Collaborator Author

rebased. and proto has been updated in #903 .

Copy link

mergify bot commented Jul 25, 2024

@lxl66566 Convert your pr to draft since CI failed

@mergify mergify bot marked this pull request as draft July 25, 2024 07:53
@mergify mergify bot added the CI:fail CI has failed label Jul 25, 2024
@mergify mergify bot marked this pull request as ready for review July 25, 2024 08:28
@mergify mergify bot removed the CI:fail CI has failed label Jul 25, 2024
Copy link

mergify bot commented Jul 29, 2024

@lxl66566 Convert your pr to draft since CI failed

@mergify mergify bot marked this pull request as draft July 29, 2024 16:08
@mergify mergify bot added the CI:fail CI has failed label Jul 29, 2024
@mergify mergify bot marked this pull request as ready for review July 29, 2024 16:41
@mergify mergify bot removed the CI:fail CI has failed label Jul 29, 2024
@lxl66566 lxl66566 force-pushed the code-fix branch 3 times, most recently from 15b13bf to 67ba153 Compare August 2, 2024 03:06
Copy link

mergify bot commented Aug 2, 2024

@lxl66566 Convert your pr to draft since CI failed

@mergify mergify bot marked this pull request as draft August 2, 2024 03:16
@mergify mergify bot added the CI:fail CI has failed label Aug 2, 2024
@mergify mergify bot marked this pull request as ready for review August 2, 2024 03:46
@mergify mergify bot removed the CI:fail CI has failed label Aug 2, 2024
Copy link

mergify bot commented Aug 15, 2024

@lxl66566 Your PR is in conflict and cannot be merged.

Copy link

This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 14 days

Copy link

mergify bot commented Sep 19, 2024

@lxl66566 Convert your pr to draft since CI failed

@mergify mergify bot marked this pull request as draft September 19, 2024 13:09
@mergify mergify bot added the CI:fail CI has failed label Sep 19, 2024
@mergify mergify bot marked this pull request as ready for review October 13, 2024 15:25
@mergify mergify bot removed the CI:fail CI has failed label Oct 13, 2024
Signed-off-by: lxl66566 <[email protected]>

chore(curp): add a missing testcase to lib.rs

Signed-off-by: lxl66566 <[email protected]>

chore(raw_curp): trivial change to functional expression

Signed-off-by: lxl66566 <[email protected]>
@mergify mergify bot requested a review from a team October 15, 2024 01:49
@lxl66566 lxl66566 merged commit f2c2104 into xline-kv:master Oct 15, 2024
16 checks passed
@lxl66566 lxl66566 deleted the code-fix branch October 15, 2024 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants