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

fix: curp wal #854

Merged
merged 1 commit into from
Jul 11, 2024
Merged

fix: curp wal #854

merged 1 commit into from
Jul 11, 2024

Conversation

bsbds
Copy link
Collaborator

@bsbds bsbds commented Jun 17, 2024

Depends-On: #687

Some fixes and improvements for the WAL storage

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 17, 2024 02:41
@mergify mergify bot requested a review from a team June 17, 2024 02:41
Copy link

mergify bot commented Jun 17, 2024

@bsbds Convert your pr to draft since CI failed

@mergify mergify bot marked this pull request as draft June 17, 2024 02:43
@mergify mergify bot added the CI:fail CI has failed label Jun 17, 2024
@bsbds bsbds marked this pull request as ready for review June 17, 2024 02:51
Copy link

codecov bot commented Jun 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.36%. Comparing base (e35b35a) to head (05d0f58).
Report is 141 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #854      +/-   ##
==========================================
- Coverage   75.55%   75.36%   -0.20%     
==========================================
  Files         180      190      +10     
  Lines       26938    28203    +1265     
  Branches    26938    28203    +1265     
==========================================
+ Hits        20353    21254     +901     
- Misses       5366     5627     +261     
- Partials     1219     1322     +103     

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

@bsbds bsbds removed the CI:fail CI has failed label Jun 17, 2024
crates/curp/src/server/storage/wal/mod.rs Outdated Show resolved Hide resolved
crates/curp/src/server/storage/wal/pipeline.rs Outdated Show resolved Hide resolved
crates/curp/src/server/storage/wal/codec.rs Outdated Show resolved Hide resolved
crates/curp/src/server/storage/wal/codec.rs Show resolved Hide resolved
@mergify mergify bot requested a review from a team June 17, 2024 07:15
bsbds added a commit to bsbds/Xline that referenced this pull request Jun 17, 2024
Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>
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 20, 2024 01:55
@CrystalAnalyst
Copy link
Contributor

LGTM

CrystalAnalyst
CrystalAnalyst previously approved these changes Jun 21, 2024
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.

Please squash these commits into one

@mergify mergify bot requested a review from a team June 24, 2024 06:22
@bsbds bsbds added this to the v0.7.0 milestone Jul 1, 2024
@Phoenix500526
Copy link
Collaborator

@Mergifyio rebase

Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>

fix(wal): disable pipeline background tasks for madsim

The background task will block as madsim is single threaded

Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>

refactor(wal): improve encoding performance

Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>

chore: use constants instead of magic

Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>
Copy link

mergify bot commented Jul 9, 2024

rebase

✅ Branch has been successfully rebased

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

@mergify mergify bot requested a review from a team July 11, 2024 01:19
@bsbds bsbds merged commit 5321761 into xline-kv:master Jul 11, 2024
15 of 16 checks passed
bsbds added a commit to bsbds/Xline that referenced this pull request Jul 12, 2024
Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>
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