tikv / titan

A RocksDB plugin for key-value separation, inspired by WiscKey.
https://pingcap.com/blog/titan-storage-engine-design-and-implementation/
Apache License 2.0
485 stars 165 forks source link

Store blob storage ptr in column family handle to avoid mutex #298

Closed v01dstar closed 8 months ago

v01dstar commented 8 months ago

Ref #294

Store a shared ptr of BlobStorage in ColumnFamilyHandle, so that, while reading, Titan does not need to lock and fetch it every time.

v01dstar commented 8 months ago

Need to merge https://github.com/tikv/rocksdb/pull/353 in advance.