mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-17 10:42:55 +00:00
fix: avoid acquiring lock during reading stats (#4070)
* fix: avoid acquiring lock during reading stats * chore: apply suggestions from CR * chore: apply suggestions from CR
This commit is contained in:
@@ -107,7 +107,7 @@ impl RegionEngine for FileRegionEngine {
|
||||
self.inner.stop().await.map_err(BoxedError::new)
|
||||
}
|
||||
|
||||
async fn region_disk_usage(&self, _: RegionId) -> Option<i64> {
|
||||
fn region_disk_usage(&self, _: RegionId) -> Option<i64> {
|
||||
None
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user