RocksDB源码-0x00-一头扎进存储

1 源码

1
2
3
4
5
6
git clone git@github.com:Bannirui/rocksdb.git
cd rocksdb
git remote add upstream git@github.com:facebook/rocksdb.git
git remote set-url --push upstream no_push
git remote -v
git checkout -b my_study

2 编译

用cmake管理项目,默认情况下报错找不到gflags

在Cmake的Options中添加-DWITH_GFLAGS=OFF

3 学习规划

  • 入口API
  • 核心调度
  • Write Path
  • Flush
  • Read Path
  • LSM的核心Compaction
  • Version

RocksDB源码-0x00-一头扎进存储
https://bannirui.github.io/2026/01/26/RocksDB/RocksDB源码-0x00-一头扎进存储/
作者
dingrui
发布于
2026年1月26日
许可协议