Skip to content

Commit a95b032

Browse files
committed
bump more more
Signed-off-by: Bugen Zhao <[email protected]>
1 parent 4bf5387 commit a95b032

File tree

17 files changed

+143
-69
lines changed

17 files changed

+143
-69
lines changed

Cargo.lock

+106-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/batch/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ parking_lot = { workspace = true }
3737
parquet = { workspace = true }
3838
paste = "1"
3939
prometheus = { version = "0.13", features = ["process"] }
40-
prost = "0.12"
4140
rand = { workspace = true }
4241
risingwave_common = { workspace = true }
4342
risingwave_common_estimate_size = { workspace = true }

src/batch/src/executor/hash_agg.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use bytes::Bytes;
2020
use futures_async_stream::try_stream;
2121
use hashbrown::hash_map::Entry;
2222
use itertools::Itertools;
23-
use prost::Message;
23+
use risingwave_pb::Message;
2424
use risingwave_common::array::{DataChunk, StreamChunk};
2525
use risingwave_common::bitmap::Bitmap;
2626
use risingwave_common::catalog::{Field, Schema};

src/batch/src/executor/join/hash_join.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use std::sync::Arc;
2020
use bytes::Bytes;
2121
use futures_async_stream::try_stream;
2222
use itertools::Itertools;
23-
use prost::Message;
23+
use risingwave_pb::Message;
2424
use risingwave_common::array::{Array, DataChunk, RowRef};
2525
use risingwave_common::bitmap::{Bitmap, BitmapBuilder};
2626
use risingwave_common::catalog::Schema;

src/batch/src/executor/order_by.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ use std::sync::Arc;
1717
use bytes::Bytes;
1818
use futures_async_stream::try_stream;
1919
use itertools::Itertools;
20-
use prost::Message;
2120
use risingwave_common::array::DataChunk;
2221
use risingwave_common::catalog::Schema;
2322
use risingwave_common::memory::MemoryContext;
@@ -28,6 +27,7 @@ use risingwave_common::util::sort_util::ColumnOrder;
2827
use risingwave_common_estimate_size::EstimateSize;
2928
use risingwave_pb::batch_plan::plan_node::NodeBody;
3029
use risingwave_pb::data::DataChunk as PbDataChunk;
30+
use risingwave_pb::Message;
3131

3232
use super::{
3333
BoxedDataChunkStream, BoxedExecutor, BoxedExecutorBuilder, Executor, ExecutorBuilder,

src/batch/src/spill/spill_op.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use futures_util::AsyncReadExt;
2222
use opendal::layers::RetryLayer;
2323
use opendal::services::{Fs, Memory};
2424
use opendal::Operator;
25-
use prost::Message;
25+
use risingwave_pb::Message;
2626
use risingwave_common::array::DataChunk;
2727
use risingwave_pb::data::DataChunk as PbDataChunk;
2828
use thiserror_ext::AsReport;

src/common/common_service/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ normal = ["workspace-hack"]
1818
async-trait = "0.1"
1919
axum = { workspace = true }
2020
futures = { version = "0.3", default-features = false, features = ["alloc"] }
21-
hyper = "0.14" # required by tonic
21+
http = "1"
2222
prometheus = { version = "0.13" }
2323
risingwave_common = { workspace = true }
2424
risingwave_pb = { workspace = true }

src/common/common_service/src/tracing.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
use std::task::{Context, Poll};
1616

1717
use futures::Future;
18-
use hyper::Body;
1918
use risingwave_common::util::tracing::TracingContext;
19+
use tonic::body::BoxBody;
2020
use tower::{Layer, Service};
2121
use tracing::Instrument;
2222

@@ -49,9 +49,9 @@ pub struct TracingExtract<S> {
4949
inner: S,
5050
}
5151

52-
impl<S> Service<hyper::Request<Body>> for TracingExtract<S>
52+
impl<S> Service<http::Request<BoxBody>> for TracingExtract<S>
5353
where
54-
S: Service<hyper::Request<Body>> + Clone + Send + 'static,
54+
S: Service<http::Request<BoxBody>> + Clone + Send + 'static,
5555
S::Future: Send + 'static,
5656
{
5757
type Error = S::Error;
@@ -63,7 +63,7 @@ where
6363
self.inner.poll_ready(cx)
6464
}
6565

66-
fn call(&mut self, req: hyper::Request<Body>) -> Self::Future {
66+
fn call(&mut self, req: http::Request<BoxBody>) -> Self::Future {
6767
// This is necessary because tonic internally uses `tower::buffer::Buffer`.
6868
// See https://github.com/tower-rs/tower/issues/547#issuecomment-767629149
6969
// for details on why this is necessary
@@ -72,7 +72,7 @@ where
7272

7373
async move {
7474
let span =
75-
if let Some(tracing_context) = TracingContext::from_http_headers(req.headers()) {
75+
if let Some(tracing_context) = TracingContext::from_http_1_headers(req.headers()) {
7676
let span = tracing::info_span!(
7777
"grpc_serve",
7878
"otel.name" = req.uri().path(),

0 commit comments

Comments
 (0)