Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Brian Anderson <andersrb@gmail.com>
- Loading branch information
Showing
13 changed files
with
122 additions
and
50 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[package] | ||
name = "sst_importer" | ||
version = "0.1.0" | ||
edition = "2018" | ||
publish = false | ||
|
||
[dependencies] | ||
crc = "1.8" | ||
futures = "0.1" | ||
grpcio = { version = "0.5.0-alpha.3", features = [ "openssl-vendored" ] } | ||
lazy_static = "1.3" | ||
quick-error = "1.2.2" | ||
serde = "1.0" | ||
serde_derive = "1.0" | ||
uuid = { version = "0.6", features = [ "serde", "v4" ] } | ||
slog = { version = "2.3", features = ["max_level_trace", "release_max_level_debug"] } | ||
slog-global = { version = "0.1", git = "https://github.com/breeswish/slog-global.git", rev = "91904ade" } | ||
kvproto = { git = "https://github.com/pingcap/kvproto.git" } | ||
|
||
engine = { path = "../engine" } | ||
keys = { path = "../keys" } | ||
tikv_alloc = { path = "../tikv_alloc", default-features = false } | ||
|
||
[dependencies.prometheus] | ||
version = "0.4.2" | ||
default-features = false | ||
|
||
[dev-dependencies] | ||
tempfile = "3.0" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright 2018 TiKV Project Authors. Licensed under Apache-2.0. | ||
|
||
//! Importing RocksDB SST files into TiKV | ||
|
||
#[macro_use] | ||
extern crate lazy_static; | ||
#[macro_use] | ||
extern crate quick_error; | ||
#[macro_use] | ||
extern crate serde_derive; | ||
#[macro_use(slog_error, slog_warn, slog_info)] | ||
extern crate slog; | ||
#[macro_use] | ||
extern crate slog_global; | ||
#[allow(unused_extern_crates)] | ||
extern crate tikv_alloc; | ||
|
||
mod config; | ||
mod errors; | ||
pub mod metrics; | ||
#[macro_use] | ||
pub mod service; | ||
pub mod import_mode; | ||
pub mod sst_importer; | ||
|
||
pub mod test_helpers; | ||
|
||
pub use self::config::Config; | ||
pub use self::errors::{Error, Result}; | ||
pub use self::sst_importer::SSTImporter; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters