Skip to content

Commit

Permalink
Merge branch 'main' into yiming/non-async-complete-barrier
Browse files Browse the repository at this point in the history
  • Loading branch information
wenym1 committed Feb 20, 2024
2 parents 5b0c7c1 + b2bda85 commit 9055c21
Show file tree
Hide file tree
Showing 51 changed files with 936 additions and 471 deletions.
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ updates:
- "prost*"
opentelemetry:
patterns:
- "opentelemetry"
- "opentelemetry*"
- "tracing-opentelemetry"
mysql:
Expand Down
101 changes: 61 additions & 40 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,12 @@ tikv-jemallocator = { git = "https://github.com/risingwavelabs/jemallocator.git"
"profiling",
"stats",
], rev = "64a2d9" }
opentelemetry = "0.21"
opentelemetry-otlp = "0.14"
opentelemetry_sdk = { version = "0.21", default-features = false }
opentelemetry-semantic-conventions = "0.13"
tokio-util = "0.7"
tracing-opentelemetry = "0.22"

risingwave_backup = { path = "./src/storage/backup" }
risingwave_batch = { path = "./src/batch" }
Expand Down
1 change: 1 addition & 0 deletions proto/stream_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ message DropActorsResponse {

message ForceStopActorsRequest {
string request_id = 1;
uint64 prev_epoch = 2;
}

message ForceStopActorsResponse {
Expand Down
2 changes: 1 addition & 1 deletion src/bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ futures-async-stream = { workspace = true }
hdrhistogram = "7"
itertools = "0.12"
libc = "0.2"
opentelemetry = { version = "0.20", default-features = false, features = ["rt-tokio"], optional = true }
opentelemetry = { workspace = true, optional = true }
parking_lot = "0.12"
prometheus = { version = "0.13", features = ["process"] }
rand = "0.8"
Expand Down
5 changes: 3 additions & 2 deletions src/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ memcomparable = { version = "0.2", features = ["decimal"] }
num-integer = "0.1"
num-traits = "0.2"
number_prefix = "0.4.0"
opentelemetry = { version = "0.20", default-features = false }
opentelemetry = { workspace = true }
opentelemetry_sdk = { workspace = true }
parking_lot = "0.12"
parse-display = "0.9"
paste = "1"
Expand Down Expand Up @@ -110,7 +111,7 @@ toml = "0.8"
tonic = { workspace = true }
tracing = "0.1"
tracing-futures = { version = "0.2", features = ["futures-03"] }
tracing-opentelemetry = "0.21"
tracing-opentelemetry = { workspace = true }
tracing-subscriber = "0.3.17"
twox-hash = "1"
url = "2"
Expand Down
2 changes: 1 addition & 1 deletion src/common/src/util/tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use std::pin::Pin;
use std::task::{Context, Poll};

use opentelemetry::propagation::TextMapPropagator;
use opentelemetry::sdk::propagation::TraceContextPropagator;
use opentelemetry_sdk::propagation::TraceContextPropagator;
use tracing_opentelemetry::OpenTelemetrySpanExt;

/// Context for tracing used for propagating tracing information in a distributed system.
Expand Down
2 changes: 1 addition & 1 deletion src/compute/src/rpc/service/stream_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl StreamService for StreamServiceImpl {
request: Request<ForceStopActorsRequest>,
) -> std::result::Result<Response<ForceStopActorsResponse>, Status> {
let req = request.into_inner();
self.mgr.reset().await;
self.mgr.reset(req.prev_epoch).await;
Ok(Response::new(ForceStopActorsResponse {
request_id: req.request_id,
status: None,
Expand Down
Loading

0 comments on commit 9055c21

Please sign in to comment.