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

perf: support system transaction #127

Merged
merged 1 commit into from
Sep 4, 2024
Merged

perf: support system transaction #127

merged 1 commit into from
Sep 4, 2024

Conversation

zz-jason
Copy link
Owner

@zz-jason zz-jason commented Aug 31, 2024

What's changed and how does it work?

  • Abandon GSN-based remote dependency tracking, support system transactions, reduce false-positive remote dependency, fix Support system transaction #125
  • Use page sequence number to indicate dirty page and WAL records
  • Replace shared_mutex with ScopedHybridGuard to improve LCB() performance
  • Replace pessimistic iterator with BasicKv::Lookup() to improve history tree point get performance
  • Move all test data to /tmp/leanstore

@zz-jason zz-jason force-pushed the jian.z/system-txn branch 3 times, most recently from 1bffd4a to cbd4e95 Compare September 4, 2024 11:16
Copy link

codecov bot commented Sep 4, 2024

Codecov Report

Attention: Patch coverage is 66.95279% with 77 lines in your changes missing coverage. Please review.

Project coverage is 56.76%. Comparing base (b273d12) to head (cbd4e95).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/btree/core/BTreeGeneric.cpp 33.33% 46 Missing ⚠️
src/concurrency/HistoryStorage.cpp 50.00% 4 Missing and 1 partial ⚠️
src/utils/ToJson.hpp 28.57% 5 Missing ⚠️
...nstore/btree/core/PessimisticExclusiveIterator.hpp 55.55% 2 Missing and 2 partials ⚠️
...de/leanstore/buffer-manager/GuardedBufferFrame.hpp 88.88% 2 Missing and 1 partial ⚠️
include/leanstore/LeanStore.hpp 66.66% 2 Missing ⚠️
...clude/leanstore/btree/core/PessimisticIterator.hpp 0.00% 2 Missing ⚠️
src/btree/BasicKV.cpp 0.00% 2 Missing ⚠️
src/btree/TransactionKV.cpp 0.00% 2 Missing ⚠️
src/buffer-manager/PageEvictor.cpp 33.33% 2 Missing ⚠️
... and 4 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #127      +/-   ##
==========================================
- Coverage   57.33%   56.76%   -0.58%     
==========================================
  Files          97       98       +1     
  Lines        7037     7194     +157     
  Branches     3202     3237      +35     
==========================================
+ Hits         4035     4084      +49     
- Misses       2628     2722      +94     
- Partials      374      388      +14     

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

@zz-jason zz-jason merged commit 925a074 into main Sep 4, 2024
7 checks passed
@zz-jason zz-jason deleted the jian.z/system-txn branch September 4, 2024 11:33
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.

Support system transaction
1 participant