Forward a coord-based delete to the shard(s) that own the cells.
(
&self,
req: ArrayShardDeleteReq,
)
| 236 | |
| 237 | /// Forward a coord-based delete to the shard(s) that own the cells. |
| 238 | pub async fn coord_delete( |
| 239 | &self, |
| 240 | req: ArrayShardDeleteReq, |
| 241 | ) -> Result<Vec<ArrayShardDeleteResp>> { |
| 242 | let req_bytes = zerompk::to_msgpack_vec(&req).map_err(|e| ClusterError::Codec { |
| 243 | detail: format!("ArrayShardDeleteReq serialise: {e}"), |
| 244 | })?; |
| 245 | let raw = fan_out( |
| 246 | &self.fan_out_params(), |
| 247 | super::super::opcodes::ARRAY_SHARD_DELETE_REQ, |
| 248 | &req_bytes, |
| 249 | &self.dispatch, |
| 250 | &self.circuit_breaker, |
| 251 | ) |
| 252 | .await?; |
| 253 | decode_resps::<ArrayShardDeleteResp>(&raw) |
| 254 | } |
| 255 | |
| 256 | /// Fan out a surrogate bitmap scan, collect per-shard bitmap bytes, and |
| 257 | /// union all bitmaps on the coordinator. |
nothing calls this directly
no test coverage detected