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: implement rocks transaction #703

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

bsbds
Copy link
Collaborator

@bsbds bsbds commented Mar 18, 2024

Depends-On: #674

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

    Implement txn API for rocksdb engine.

  • 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 force-pushed the impl-rocks-transaction branch 2 times, most recently from 4d132fe to 34e5e62 Compare March 18, 2024 02:23
@bsbds bsbds marked this pull request as ready for review March 18, 2024 02:23
Copy link

codecov bot commented Mar 18, 2024

Codecov Report

Attention: Patch coverage is 23.44828% with 111 lines in your changes missing coverage. Please review.

Project coverage is 75.39%. Comparing base (e35b35a) to head (80e3aeb).
Report is 121 commits behind head on master.

Files Patch % Lines
crates/engine/src/rocksdb_engine/transaction.rs 20.74% 107 Missing ⚠️
crates/engine/src/memory_engine/transaction.rs 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #703      +/-   ##
==========================================
- Coverage   75.55%   75.39%   -0.16%     
==========================================
  Files         180      187       +7     
  Lines       26938    27960    +1022     
  Branches    26938    27960    +1022     
==========================================
+ Hits        20353    21081     +728     
- Misses       5366     5590     +224     
- Partials     1219     1289      +70     

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

Copy link

mergify bot commented Apr 18, 2024

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

@mergify mergify bot requested a review from a team April 19, 2024 04:37
@bsbds bsbds force-pushed the impl-rocks-transaction branch from 34e5e62 to 61de1a9 Compare April 22, 2024 07:10
Copy link

mergify bot commented Apr 22, 2024

@bsbds Convert your pr to draft since CI failed

@mergify mergify bot marked this pull request as draft April 22, 2024 07:14
@bsbds bsbds marked this pull request as ready for review April 25, 2024 02:30
@mergify mergify bot marked this pull request as draft April 25, 2024 02:30
@bsbds bsbds marked this pull request as ready for review April 25, 2024 02:58
@mergify mergify bot marked this pull request as draft April 25, 2024 02:58
@Phoenix500526
Copy link
Collaborator

@Mergifyio rebase

Copy link

mergify bot commented Apr 25, 2024

rebase

✅ Branch has been successfully rebased

@Phoenix500526 Phoenix500526 force-pushed the impl-rocks-transaction branch from 61de1a9 to 5fc6fee Compare April 25, 2024 15:02
Copy link

mergify bot commented Apr 25, 2024

@bsbds Convert your pr to draft since CI failed

@bsbds bsbds force-pushed the impl-rocks-transaction branch from 5fc6fee to 51ecfc0 Compare April 26, 2024 02:40
@bsbds bsbds marked this pull request as ready for review April 26, 2024 02:41
Copy link

mergify bot commented Apr 26, 2024

@bsbds Convert your pr to draft since CI failed

@mergify mergify bot marked this pull request as draft April 26, 2024 02:43
@bsbds bsbds marked this pull request as ready for review April 29, 2024 03:18
@bsbds bsbds force-pushed the impl-rocks-transaction branch from 46050fe to 44a5319 Compare April 29, 2024 03:19
crates/engine/src/rocksdb_engine/transaction.rs Outdated Show resolved Hide resolved
crates/engine/src/rocksdb_engine/transaction.rs Outdated Show resolved Hide resolved
crates/engine/src/rocksdb_engine/transaction.rs Outdated Show resolved Hide resolved
crates/engine/src/rocksdb_engine/transaction.rs Outdated Show resolved Hide resolved
crates/engine/src/rocksdb_engine/transaction.rs Outdated Show resolved Hide resolved
crates/engine/src/rocksdb_engine/transaction.rs Outdated Show resolved Hide resolved
@mergify mergify bot requested a review from a team April 29, 2024 08:24
@bsbds bsbds force-pushed the impl-rocks-transaction branch 2 times, most recently from 0aba376 to 7e010f6 Compare May 6, 2024 01:54
Copy link

mergify bot commented May 6, 2024

@bsbds Convert your pr to draft since CI failed

@mergify mergify bot marked this pull request as draft May 6, 2024 01:57
@bsbds bsbds force-pushed the impl-rocks-transaction branch from 7e010f6 to 9ab8374 Compare May 11, 2024 02:02
@bsbds bsbds marked this pull request as ready for review May 11, 2024 02:41
@mergify mergify bot requested a review from a team May 11, 2024 06:20
@bsbds bsbds force-pushed the impl-rocks-transaction branch from 9ab8374 to a2e29bd Compare May 13, 2024 01:41
Phoenix500526
Phoenix500526 previously approved these changes May 16, 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 commits

@mergify mergify bot requested a review from a team May 16, 2024 06:48
@mergify mergify bot requested a review from a team May 20, 2024 14:58
Copy link

mergify bot commented Jun 11, 2024

@bsbds Convert your pr to draft since CI failed

@mergify mergify bot marked this pull request as draft June 11, 2024 10:30
@mergify mergify bot added the CI:fail CI has failed label Jun 11, 2024
@bsbds bsbds force-pushed the impl-rocks-transaction branch from b58dea1 to fe33188 Compare June 11, 2024 11:16
@bsbds bsbds marked this pull request as ready for review June 11, 2024 11:17
@bsbds bsbds mentioned this pull request Jun 14, 2024
@Phoenix500526 Phoenix500526 removed the CI:fail CI has failed label Jun 17, 2024
@mergify mergify bot requested a review from a team June 17, 2024 01:51
@Phoenix500526
Copy link
Collaborator

Please squash the commits

@bsbds bsbds force-pushed the impl-rocks-transaction branch from fe33188 to 80e3aeb Compare June 18, 2024 01:25
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 June 18, 2024 01:34
@bsbds bsbds added this to the v0.7.0 milestone Jul 1, 2024
@bsbds bsbds merged commit e7f9ebe into xline-kv:master Jul 9, 2024
12 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