Dispatch a physical plan locally (single-node fallback path). Called only when `shared.gateway` is `None` (pre-cluster-init boot).
(
state: &AppState,
tenant_id: crate::types::TenantId,
vshard_id: VShardId,
plan: PhysicalPlan,
trace_id: TraceId,
)
| 254 | /// |
| 255 | /// Called only when `shared.gateway` is `None` (pre-cluster-init boot). |
| 256 | async fn dispatch_to_data_plane( |
| 257 | state: &AppState, |
| 258 | tenant_id: crate::types::TenantId, |
| 259 | vshard_id: VShardId, |
| 260 | plan: PhysicalPlan, |
| 261 | trace_id: TraceId, |
| 262 | ) -> crate::Result<crate::bridge::envelope::Response> { |
| 263 | crate::control::server::dispatch_utils::dispatch_to_data_plane( |
| 264 | &state.shared, |
| 265 | tenant_id, |
| 266 | vshard_id, |
| 267 | plan, |
| 268 | trace_id, |
| 269 | ) |
| 270 | .await |
| 271 | } |
| 272 | |
| 273 | /// Decode a Data Plane response payload to JSON. |
| 274 | /// |
no outgoing calls
no test coverage detected