Function cluster_status

Source
pub(crate) async fn cluster_status(
    state: &State<Arc<RwLock<SharedState>>>,
    cluster: &State<Arc<RwLock<ClusterManager>>>,
) -> Json<ApiResponse>
Expand description

Cluster status endpoint providing detailed information about the cluster

§Arguments

  • state - Shared state containing leadership information
  • cluster - Cluster manager containing node information

§Returns

JSON response with cluster status details