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

basic transaction management system #145

Merged
merged 1 commit into from
Dec 14, 2024
Merged

basic transaction management system #145

merged 1 commit into from
Dec 14, 2024

Conversation

jiangzhe
Copy link
Owner

@jiangzhe jiangzhe commented Dec 14, 2024

Define TransactionSystem with TrxID, STS, CTS generation.
Define interface of begin, commit and rollback.
Implement group commit.
Implement identification of old transaction base on minimum active STS for GC.

@codecov-commenter
Copy link

codecov-commenter commented Dec 14, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 51.89873% with 418 lines in your changes missing coverage. Please review.

Project coverage is 72.78%. Comparing base (3d02dc4) to head (0c77a0a).

Files with missing lines Patch % Lines
doradb-storage/src/value.rs 39.73% 138 Missing ⚠️
doradb-storage/src/row/mod.rs 43.45% 95 Missing ⚠️
doradb-storage/src/trx/sys.rs 71.06% 79 Missing ⚠️
doradb-storage/src/trx/mod.rs 33.33% 40 Missing ⚠️
doradb-storage/src/buffer/guard.rs 40.54% 22 Missing ⚠️
doradb-storage/src/row/ops.rs 10.00% 18 Missing ⚠️
doradb-storage/src/index/block_index.rs 52.94% 16 Missing ⚠️
doradb-storage/src/latch.rs 14.28% 6 Missing ⚠️
doradb-storage/src/buffer/mod.rs 91.89% 3 Missing ⚠️
doradb-storage/src/trx/redo.rs 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #145      +/-   ##
==========================================
- Coverage   73.63%   72.78%   -0.86%     
==========================================
  Files         123      128       +5     
  Lines       17382    17984     +602     
==========================================
+ Hits        12799    13089     +290     
- Misses       4583     4895     +312     

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

@jiangzhe jiangzhe merged commit ee5a2d8 into main Dec 14, 2024
1 check passed
@jiangzhe jiangzhe deleted the trx branch December 14, 2024 08:05
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.

2 participants