zz-jason / leanstore

LeanStore is a larger-than-memory database, optimized for NVMe SSD and multi-core CPU, achieves performance close to in-memory systems without having to keep all data in memory.
MIT License
20 stars 2 forks source link

fix: use jump free and scoped array #13

Closed zz-jason closed 8 months ago

zz-jason commented 8 months ago

need to use JumpScopedArray to free the allocated memory when longjump happens.

codecov[bot] commented 8 months ago

Codecov Report

Attention: 85 lines in your changes are missing coverage. Please review.

Comparison is base (d77b51a) 25.24% compared to head (99f6f5c) 25.27%.

Files Patch % Lines
source/concurrency-recovery/HistoryTree.cpp 0.00% 24 Missing :warning:
source/storage/btree/BTreeLL.cpp 0.00% 21 Missing :warning:
source/storage/btree/core/BTreeNode.cpp 6.66% 11 Missing and 3 partials :warning:
source/storage/btree/Tuple.cpp 0.00% 13 Missing :warning:
source/storage/btree/core/BTreeGeneric.cpp 9.09% 9 Missing and 1 partial :warning:
source/storage/btree/core/BTreeNode.hpp 0.00% 2 Missing :warning:
source/utils/Misc.hpp 50.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #13 +/- ## ========================================== + Coverage 25.24% 25.27% +0.02% ========================================== Files 85 85 Lines 7739 7743 +4 Branches 3276 3279 +3 ========================================== + Hits 1954 1957 +3 - Misses 4813 4814 +1 Partials 972 972 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.