diff --git a/src/datanode/src/region_server.rs b/src/datanode/src/region_server.rs index 2c8212ac3c46..b9576e38ad7f 100644 --- a/src/datanode/src/region_server.rs +++ b/src/datanode/src/region_server.rs @@ -213,11 +213,7 @@ impl RegionServer { region_id, plan, }) - .await; - if let Some(_permit) = permit { - drop(_permit) - }; - res + .await } #[tracing::instrument(skip_all)]