diff --git a/src/datanode/src/region_server.rs b/src/datanode/src/region_server.rs index b9576e38ad7f..491712e0d07d 100644 --- a/src/datanode/src/region_server.rs +++ b/src/datanode/src/region_server.rs @@ -254,11 +254,7 @@ impl RegionServer { let res = self .inner .handle_read(QueryRequest { plan, ..request }) - .await; - if let Some(_permit) = permit { - drop(_permit) - }; - res + .await } /// Returns all opened and reportable regions.