Add experimental DB::AddFile() to plug sst files into empty DB
Summary: This is an initial version of bulk load feature This diff allow us to create sst files, and then bulk load them later, right now the restrictions for loading an sst file are (1) Memtables are empty (2) Added sst files have sequence number = 0, and existing values in database have sequence number = 0 (3) Added sst files values are not overlapping Test Plan: unit testing Reviewers: igor, ott, sdong Reviewed By: sdong Subscribers: leveldb, ott, dhruba Differential Revision: https://reviews.facebook.net/D39081
Showing
include/rocksdb/sst_file_writer.h
0 → 100644
table/sst_file_writer.cc
0 → 100644
想要评论请 注册 或 登录