make sk compile

This commit is contained in:
Christian Schwarz
2025-05-04 17:06:46 +02:00
parent 35dbbbaf60
commit 7aa9beaefd
3 changed files with 17 additions and 5 deletions

View File

@@ -40,11 +40,18 @@ pub struct TimelineUpdatesSubscriber {
}
/// Wrapper type to weed out all places in the codebase that interact directly with the gRPC generated code.
/// We want all to go through the facade structs above so we can implement brokerless mode in the future.
pub struct BrokerClientChannel {
client: proto::broker_service_client::BrokerServiceClient<tonic::transport::Channel>,
}
impl BrokerClientChannel {
pub fn into_raw_grpc_client(
self,
) -> proto::broker_service_client::BrokerServiceClient<tonic::transport::Channel> {
self.client
}
}
pub struct TimelineShardUpdate {
pub is_discovery: bool,
pub inner: proto::SafekeeperDiscoveryResponse,