oceanbase / miniob

MiniOB is a compact database that assists developers in understanding the fundamental workings of a database.
https://oceanbase.github.io/miniob/
Mulan Permissive Software License, Version 2
2.86k stars 1.01k forks source link

double write buffer #367

Closed Wenbin1002 closed 1 month ago

Wenbin1002 commented 1 month ago

What problem were solved in this pull request?

Issue Number: close #334

Problem:

What is changed and how it works?

实现double write buffer以解决页面的原子写入问题。

Other information

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 82.29167% with 17 lines in your changes are missing coverage. Please review.

Project coverage is 37.62%. Comparing base (ab25a46) to head (eb175ca). Report is 1 commits behind head on main.

:exclamation: Current head eb175ca differs from pull request most recent head b5da6d7. Consider uploading reports for the commit b5da6d7 to get more accurate results

Files Patch % Lines
src/observer/storage/buffer/disk_buffer_pool.cpp 80.89% 17 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #367 +/- ## ========================================== + Coverage 37.07% 37.62% +0.54% ========================================== Files 102 103 +1 Lines 7279 7360 +81 ========================================== + Hits 2699 2769 +70 - Misses 4580 4591 +11 ```

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