Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move SST code to engine traits (tikv#5790)
* engine_*: outline SST traits Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine_rocks: Use Rc inside RocksSstReader Signed-off-by: Brian Anderson <andersrb@gmail.com> * *: temporarily patch local rust-rocksdb Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine_rocks: Implement SstReader Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine_traits: Add SstExt to KvEngine Signed-off-by: Brian Anderson <andersrb@gmail.com> * sst_importer: replace rocks SstReader with abstract SstReader Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine_*: Add SstWriter SstWriterBuilder Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine_rocks: cleanup warnings Signed-off-by: Brian Anderson <andersrb@gmail.com> * sst_importer: Use generic SstWriter Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine_rocks: add test_helpers mod and new_default_engine fn Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine_rocks: port sst tests Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine: remove sst module Signed-off-by: Brian Anderson <andersrb@gmail.com> * raftstore: Use traits for SstWriter Signed-off-by: Brian Anderson <andersrb@gmail.com> * sst_service: Fix type annotations Signed-off-by: Brian Anderson <andersrb@gmail.com> * raftstore: Use SST traits Signed-off-by: Brian Anderson <andersrb@gmail.com> * *: temporarily use brson's rocksdb branch Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine_traits: Rename CFOptions to ColumnFamilyOptions For consistency with existing types. Less confusing. Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine_traits: Rename get_cf_handle to cf_handle For consistency with engine crate Signed-off-by: Brian Anderson <andersrb@gmail.com> wip * engine_rocks: Move sst test cases from engine to engine_rocks Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine_traits: Introduce TitanDBOptions and re-enable titan sst test Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine: cleanup unused Signed-off-by: Brian Anderson <andersrb@gmail.com> * backup: use engine traits for SST Signed-off-by: Brian Anderson <andersrb@gmail.com> * *: rustfmt Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine: Move more sst functions into engine_rocks Signed-off-by: Brian Anderson <andersrb@gmail.com> * engine: cleanup unused Signed-off-by: Brian Anderson <andersrb@gmail.com> * *: fix rocksdb patch Signed-off-by: Brian Anderson <andersrb@gmail.com> * Revert "*: fix rocksdb patch" This reverts commit afd744d. Signed-off-by: Brian Anderson <andersrb@gmail.com> * Revert "*: temporarily use brson's rocksdb branch" This reverts commit d86c374. Signed-off-by: Brian Anderson <andersrb@gmail.com> * Revert "*: temporarily patch local rust-rocksdb" This reverts commit be532b0. Signed-off-by: Brian Anderson <andersrb@gmail.com>
- Loading branch information