Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

opendal: Bump to v0.2.2 #4433

Merged
merged 3 commits into from
Mar 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 7 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/contexts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ test = false

[dependencies]
async-trait = "0.1.52"
opendal = "0.2.0"
opendal = "0.2.2"
2 changes: 1 addition & 1 deletion common/exception/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ common-arrow = { path = "../arrow" }
anyhow = "1.0.55"
backtrace = "0.3.64"
octocrab = "0.15.4"
opendal = "0.2.0"
opendal = "0.2.2"
paste = "1.0.6"
prost = "0.9.0"
serde = { version = "1.0.136", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion common/io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bincode = { git = "https://github.com/datafuse-extras/bincode", rev = "fd3f9ff"
# Crates.io dependencies
bytes = "1.1.0"
futures = "0.3.21"
opendal = "0.2.0"
opendal = "0.2.2"
serde = { version = "1.0.136", features = ["derive"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion common/streams/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ tempfile = "3.3.0"
tokio-stream = { version = "0.1.8", features = ["net"] }

[dev-dependencies]
opendal = "0.2.0"
opendal = "0.2.2"
1 change: 1 addition & 0 deletions common/tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ tracing-bunyan-formatter = "0.3.2"
tracing-futures = { version = "0.2.5", features = ["futures-03"] }
tracing-opentelemetry = "0.17.2"
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
tracing-log = "0.1.2"
4 changes: 4 additions & 0 deletions common/tracing/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ use tracing_appender::rolling::RollingFileAppender;
use tracing_appender::rolling::Rotation;
use tracing_bunyan_formatter::BunyanFormattingLayer;
use tracing_bunyan_formatter::JsonStorageLayer;
use tracing_log::LogTracer;
use tracing_subscriber::fmt;
use tracing_subscriber::fmt::format::Writer;
use tracing_subscriber::fmt::time::FormatTime;
Expand Down Expand Up @@ -70,6 +71,9 @@ static GLOBAL_UT_LOG_GUARD: Lazy<Arc<Mutex<Option<Vec<WorkerGuard>>>>> =
pub fn init_global_tracing(app_name: &str, dir: &str, level: &str) -> Vec<WorkerGuard> {
let mut guards = vec![];

// Enable log compatible layer to convert log record to tracing span.
LogTracer::init().expect("log tracer must be valid");

// Stdout layer.
let (stdout_writer, stdout_guard) = tracing_appender::non_blocking(std::io::stdout());
let stdout_logging_layer = Layer::new().with_writer(stdout_writer);
Expand Down
2 changes: 1 addition & 1 deletion query/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ num = "0.4.0"
num_cpus = "1.13.1"
octocrab = "0.15.4"
once_cell = "1.9.0"
opendal = "0.2.0"
opendal = "0.2.2"
parquet-format-async-temp = "0.2.0"
paste = "1.0.6"
petgraph = "0.6.0"
Expand Down