Skip to content

Commit

Permalink
Update src/datanode/src/region_server.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Yingwen <[email protected]>
  • Loading branch information
lyang24 and evenyag authored Sep 24, 2024
1 parent 06c51c4 commit 4d7201b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/datanode/src/region_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4d7201b

Please sign in to comment.