Commit Graph

12 Commits

Author SHA1 Message Date
Eikasia30
77e15efad4 fix: avoid leveled compaction crash when recovering from manifest (#63)
* Fix: Avoid leveled copaction crash when recovering from manifest

* Also sort SSTs in manifest recovery

* Add `in_recovery` flag to `apply_compaction_result`

- Don't sort the SSTs inside `apply_compaction_result` if in recovery
2024-07-02 20:25:43 -04:00
Foreverhighness
aa35a96dfc fix: clippy lint (#80)
* clippy(merge_iterator): fix `clippy::non_canonical_partial_ord_impl` lint.

* clippy(bloom): fix `clippy::manual_clamp` lint.

* clippy(compact): fix `clippy::assigning_clones` lint.

* clippy(key): fix `clippy::legacy_numeric_constants` lint.

* clippy(mem_table): fix `clippy::missing_transmute_annotations` lint.
2024-06-23 12:45:56 -04:00
letterbeezps
faa001a801 fix capacity of level ssts (#55)
* fix capacity of level ssts

* fix lower ssts capacity in campaction
2024-03-10 14:30:41 -04:00
Alex Chi Z
a6c32e8af8 finish full tutorial
Signed-off-by: Alex Chi Z <iskyzh@gmail.com>
2024-01-30 15:42:15 +08:00
Alex Chi
4ad97f716c add 3.4 tests
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-01-30 12:14:32 +08:00
Alex Chi
37f2c5aff0 fix compaction split bug and add 3.1 test
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-01-28 16:01:40 +08:00
Alex Chi
6025bb8dca implement mvcc compaction + snapshot
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-01-26 16:52:37 +08:00
Alex Chi
14c3be390c add week 2 day 5 + 6 tests
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-01-26 15:19:56 +08:00
Alex Chi
595016f2b6 ensure compaction can finish in mvcc
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-01-25 23:45:00 +08:00
Alex Chi
63429b50d5 consider merge width for tiered trigger + mvcc compaction
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-01-25 23:38:26 +08:00
Alex Chi
8dbaf54e38 add compaction tests and fix bugs in compaction
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-01-25 15:25:23 +08:00
Alex Chi
753e6d4f9e checkin initial MVCC codebase
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-01-25 12:28:33 +08:00