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

feat: move id barrier to utils #851

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Conversation

bsbds
Copy link
Collaborator

@bsbds bsbds commented Jun 14, 2024

Make IdBarrier reusable

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?)

  • what changes does this pull request make?

  • are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

@bsbds bsbds marked this pull request as ready for review June 14, 2024 02:38
@mergify mergify bot requested a review from a team June 14, 2024 02:39
Copy link

codecov bot commented Jun 14, 2024

Codecov Report

Attention: Patch coverage is 65.38462% with 9 lines in your changes missing coverage. Please review.

Project coverage is 75.74%. Comparing base (e35b35a) to head (7d3222a).
Report is 123 commits behind head on master.

Files Patch % Lines
crates/utils/src/barrier.rs 59.09% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #851      +/-   ##
==========================================
+ Coverage   75.55%   75.74%   +0.18%     
==========================================
  Files         180      188       +8     
  Lines       26938    27830     +892     
  Branches    26938    27830     +892     
==========================================
+ Hits        20353    21079     +726     
- Misses       5366     5457      +91     
- Partials     1219     1294      +75     

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

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.

There is another barrier named IndexBarrier in xline::server::barrier. Shall we move it into utils::barrier?

@mergify mergify bot requested a review from a team June 17, 2024 06:46
@bsbds
Copy link
Collaborator Author

bsbds commented Jun 18, 2024

There is another barrier named IndexBarrier in xline::server::barrier. Shall we move it into utils::barrier?

It will be removed in #857

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 squash these commits into one

@mergify mergify bot requested a review from a team June 18, 2024 02:20
@bsbds bsbds force-pushed the move-id-barrier branch from 3a8ab61 to 7d3222a Compare June 19, 2024 02:06
@CrystalAnalyst
Copy link
Contributor

LGTM

@bsbds bsbds merged commit 508682f into xline-kv:master Jun 19, 2024
13 of 14 checks passed
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.

3 participants