chore: error handling in handle_batch_body

This commit is contained in:
evenyag
2025-02-10 21:38:10 +08:00
parent 9c4aa81f85
commit cc435234a4

View File

@@ -936,11 +936,10 @@ impl RegionServerInner {
}
for (_, (engine, request)) in engine_requests {
// TODO(yingwen): Error for batch request.
engine
.handle_batch_request(BatchRegionRequest::Put(request))
.await
.unwrap();
.context(HandleBatchRequestSnafu)?;
}
// match engine