forked from databendlabs/databend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move databend-meta binaries to separate dir (databendlabs#1…
…5803) Building databend-meta does not rely on databend-query. Moving it out of `src/binaries` speed up databend-meta building.
- Loading branch information
1 parent
303f713
commit 4d6a3ae
Showing
17 changed files
with
127 additions
and
75 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
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,84 @@ | ||
[package] | ||
name = "databend-meta-binaries" | ||
description = "databend-meta command line tools" | ||
version = { workspace = true } | ||
authors = { workspace = true } | ||
license = { workspace = true } | ||
publish = { workspace = true } | ||
edition = { workspace = true } | ||
|
||
[features] | ||
default = ["simd", "jemalloc"] | ||
memory-profiling = [ | ||
"databend-meta/memory-profiling", | ||
"databend-common-base/memory-profiling", | ||
] | ||
simd = ["databend-meta/simd"] | ||
jemalloc = ["databend-common-base/jemalloc"] | ||
io-uring = [ | ||
"databend-meta/io-uring", | ||
"databend-common-meta-store/io-uring", | ||
"databend-common-meta-sled-store/io-uring", | ||
"databend-common-meta-raft-store/io-uring", | ||
] | ||
|
||
[dependencies] | ||
anyerror = { workspace = true } | ||
anyhow = { workspace = true } | ||
chrono = { workspace = true } | ||
clap = { workspace = true } | ||
databend-common-base = { workspace = true } | ||
databend-common-exception = { workspace = true } | ||
databend-common-grpc = { workspace = true } | ||
databend-common-meta-api = { workspace = true } | ||
databend-common-meta-app = { workspace = true } | ||
databend-common-meta-client = { workspace = true } | ||
databend-common-meta-kvapi = { workspace = true } | ||
databend-common-meta-raft-store = { workspace = true } | ||
databend-common-meta-sled-store = { workspace = true } | ||
databend-common-meta-store = { workspace = true } | ||
databend-common-meta-types = { workspace = true } | ||
databend-common-tracing = { workspace = true } | ||
databend-meta = { workspace = true } | ||
futures = { workspace = true } | ||
log = { workspace = true } | ||
minitrace = { workspace = true } | ||
rand = { workspace = true } | ||
serde = { workspace = true } | ||
serde_json = { workspace = true } | ||
tokio = { workspace = true } | ||
tokio-stream = { workspace = true } | ||
url = "2.3.1" | ||
|
||
[[bin]] | ||
name = "databend-meta" | ||
path = "meta/ee_main.rs" | ||
doctest = false | ||
test = false | ||
|
||
[[bin]] | ||
name = "databend-meta-oss" | ||
path = "meta/oss_main.rs" | ||
doctest = false | ||
test = false | ||
|
||
[[bin]] | ||
name = "databend-metabench" | ||
path = "metabench/main.rs" | ||
doctest = false | ||
test = false | ||
|
||
[[bin]] | ||
name = "databend-metactl" | ||
path = "metactl/main.rs" | ||
doctest = false | ||
test = false | ||
|
||
[[bin]] | ||
name = "databend-metaverifier" | ||
path = "metaverifier/main.rs" | ||
doctest = false | ||
test = false | ||
|
||
[lints] | ||
workspace = true |
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,8 @@ | ||
# Databend Binaries | ||
|
||
Contains all databend binaries: | ||
|
||
- [`meta`](./meta/) -> `databend-meta`, the meta service binary of Databend. | ||
- [`metabench`](./metabench/) -> `databend-metabench`, run meta benchmark. | ||
- [`metactl`](./metactl/) -> `databend-metactl`, dump data in json from a sled db. | ||
- [`table-meta-inspector`](./tool/table_meta_inspector.rs) -> `table-meta-inspector`, tools for decoding the v3 table meta |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.