Commit Graph

249 Commits

Author SHA1 Message Date
Alex Chi Z
26103ce415 use our own badge
Signed-off-by: Alex Chi Z <iskyzh@gmail.com>
2025-01-19 00:19:15 -05:00
Alex Chi Z.
b4b8be1c35 add related projects 2025-01-14 00:50:54 -05:00
Alex Chi
09196377c5 fix(book): minor nit on tiered compaction
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2025-01-09 17:29:48 -05:00
Zhelong Zhao
cc1b174515 fix(compaction): correct level0_file_num_compaction_trigger in simple leveled compaction (#112)
* fix(compaction): correct level0_file_num_compaction_trigger in simple leveled compaction

Signed-off-by: zztaki <zztaki@outlook.com>

* minor nit + sync to mvcc version

Signed-off-by: Alex Chi <iskyzh@gmail.com>

---------

Signed-off-by: zztaki <zztaki@outlook.com>
Signed-off-by: Alex Chi <iskyzh@gmail.com>
Co-authored-by: Alex Chi <iskyzh@gmail.com>
2024-12-29 16:23:28 -07:00
Bill Graham
0a91335140 docs: clarify more about the binary heap (#102) 2024-12-29 16:20:17 -07:00
Elliott Yoon
b7cd772f65 Fix typo in week2-01-compaction.md (#103) 2024-12-29 16:15:03 -07:00
nauta
948cba7ced fix: update pebblesdb link (#110) 2024-12-20 16:29:04 -05:00
Alex Chi Z.
23802b23dd chore: bump compiler version and clippy fixes (#105)
Signed-off-by: Alex Chi Z <iskyzh@gmail.com>
2024-12-09 00:23:03 -05:00
Bill Graham
f99db4dd61 Update week1-05-read-path.md, fix typo (#104)
* Update week1-05-read-path.md, fix typo

* Update week1-04-sst.md
2024-12-05 17:42:21 -05:00
Alex Chi
a970422a3c minor nits for tiered compaction docs
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-11-12 21:58:29 -05:00
Alex Chi Z.
8420e6ec1a fix(docs): update universal compaction instructions (#101)
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-11-12 21:56:40 -05:00
Alex Chi Z.
9cca6ad420 fix: universal compaction condition (#97)
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-11-12 21:27:00 -05:00
Foreverhighness
b84dd3838f 🎉 (solution): Add fh solution. (#89) 2024-07-22 16:17:56 -04:00
Alex Chi Z.
42b94bda92 book: more questions on multi-tenant systems (#87)
Signed-off-by: Alex Chi Z <chi@neon.tech>
2024-07-19 15:26:26 -04:00
Alex Chi Z
dd333ca5a7 docs: add recovery mode for leveled compaction (#86)
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-07-02 20:36:07 -04:00
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
Alex Chi Z
2b527fd6dc fix: ensure WAL is atomic for each write batch (#84)
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-07-02 20:23:33 -04:00
Alex Chi Z
6d16ae2d01 bump dependencies (#81)
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-06-23 12:49:59 -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
Zaid Humayun
2fb3932fb1 Update week3-06-serializable.md (#79)
* Update week3-06-serializable.md

Completed incomplete sentence.

* Update week3-06-serializable.md
2024-06-14 17:32:08 -04:00
Jiaqi Shen
2ba461b0ad [test]: Modify test_sst_build_all() to add checks for first_key and last_key of SST (#76)
Signed-off-by: Alex Chi <iskyzh@gmail.com>
Co-authored-by: shenjiaqi.2769 <shenjiaqi.2769@bytedance.com>
Co-authored-by: Alex Chi <iskyzh@gmail.com>
2024-05-24 21:18:56 -04:00
Alex Chi
daa4fde8d8 fix test panic
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-05-21 23:55:41 -04:00
Alex Chi
14518aa7a8 more interesting questions
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-05-21 23:47:50 -04:00
Alex Chi
7d69cab60b only run deploy on skyzh/mini-lsm
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-05-12 22:48:45 -04:00
ping
0092b89cd0 Update SOLUTIONS.md (#77)
A simple solution of Mini-LSM
2024-05-12 22:44:58 -04:00
Jiaqi Shen
c4d5440264 fix: fix typo in w1d6 (#75)
Co-authored-by: shenjiaqi.2769 <shenjiaqi.2769@bytedance.com>
2024-05-12 22:43:56 -04:00
0x29a
2665e0343d chore: typo in week2-05-manifest.md (#73) 2024-05-12 22:43:50 -04:00
Yue Yin
bcaab6f706 Fix minor mistake in W3D6 writeup (#69) 2024-03-24 15:24:38 -04:00
Yue Yin
afe6c9549d Fix typos in W3D5 writeup and code (#67) 2024-03-24 15:23:39 -04:00
0x29a
621d7a8cf3 chore: typos & refine comments (#65)
* typo in  week2-01-compaction.md

* chroe: typos & add comments

* chore: more typos

* Update week2-01-compaction.md

---------

Co-authored-by: Alex Chi Z <iskyzh@gmail.com>
2024-03-24 15:23:07 -04:00
dimbtp
afad25b6fd fix: call lsm::close when closing the cli (#60) 2024-03-18 17:58:37 -04:00
cypppper
0b19c806fe fix: typo (#64) 2024-03-18 17:53:43 -04:00
Yongxin-Hu
2015ee1703 fix: typo (#61) 2024-03-16 13:04:12 -04:00
Alex Chi
f840dc5382 docs: add compaction tradeoff figure
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-03-13 18:10:14 -04:00
Zixuan Chen
cb55a7fe54 test: test scan exclusive start on sstable (#56) 2024-03-10 14:49:02 -04:00
Zixuan Chen
2f1131268e Fix path name for concat iterator (#58)
* Fix path name for concat iterator

* Update week2-01-compaction.md

---------

Co-authored-by: Alex Chi Z <iskyzh@gmail.com>
2024-03-10 14:31:29 -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
yangchenye
12adab7c27 docs: week2-02-simple.md (#54) 2024-03-10 14:29:58 -04:00
yangchenye
bb079d6a90 doc: week2-03-tiered.md (#57) 2024-03-10 14:28:54 -04:00
Yue Yin
db102602b0 Improve readability and clarity (#52) 2024-02-26 19:10:08 -05:00
Yue Yin
f436b3f9a9 fix: W1D6 test_task3_sst_filter (#48) 2024-02-24 16:14:52 -05:00
Zaid Humayun
ce9ef62df4 Update week1-07-sst-optimizations.md (#49)
The description has been changed to:

1. Display two separate has functions results as `hash1` and `hash2`.
2. Correctly state the bloom filter has 7 bits
3. Add a link to a post explaining bloom filters
2024-02-24 16:14:35 -05:00
PinelliaC
30cdeb105d fix: typo in week 1 day 3 (#50) 2024-02-24 16:13:34 -05:00
Alex Chi
a5c61760b0 add backlink to comapction overview
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-02-21 21:06:02 -05:00
Hu#
59ae3fa134 add hint (#46)
Signed-off-by: husharp <jinhao.hu@pingcap.com>
2024-02-15 08:59:26 -05:00
letterbeezps
1aa53aa17f simplify the implementation of scan (#45) 2024-02-11 10:41:07 -05:00
Alex Chi
2077c15e82 apply 0b2243acf0 on mvcc
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-02-11 10:40:06 -05:00
xxchan
69eebbd848 test: improve week1_day2::test_task2_merge_error (#43)
Previously a bad impl won't panic, because the heap only have one iter.
2024-02-11 10:38:29 -05:00
Laco Pápay
e3cd2b7f67 Fix paths to lsm_{iterator,storage}.rs in Week 1 Day 2 (#44) 2024-02-10 15:35:57 -05:00
0x29a
f1fa216d0e chore: typos (#42) 2024-02-06 11:38:07 +08:00