Skip to content

Commit

Permalink
Node state gossip
Browse files Browse the repository at this point in the history
Summary:
First iteration of gossip protocol to share node state
  • Loading branch information
muhamadazmy committed Nov 18, 2024
1 parent aae0fea commit d1530ba
Show file tree
Hide file tree
Showing 16 changed files with 677 additions and 375 deletions.
238 changes: 0 additions & 238 deletions crates/admin/src/cluster_controller/cluster_state_refresher.rs

This file was deleted.

2 changes: 1 addition & 1 deletion crates/admin/src/cluster_controller/grpc_svc_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ impl ClusterCtrlSvc for ClusterCtrlSvcHandler {
.map_err(|_| Status::aborted("Node is shutting down"))?;

let resp = ClusterStateResponse {
cluster_state: Some((*cluster_state).clone().into()),
cluster_state: Some(cluster_state.into()),
};
Ok(Response::new(resp))
}
Expand Down
1 change: 0 additions & 1 deletion crates/admin/src/cluster_controller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0.

pub mod cluster_state_refresher;
pub mod grpc_svc_handler;
mod logs_controller;
mod observed_cluster_state;
Expand Down
Loading

0 comments on commit d1530ba

Please sign in to comment.