diff --git a/pageserver/src/disk_usage_eviction_task.rs b/pageserver/src/disk_usage_eviction_task.rs index eef64ae51c..b15070635d 100644 --- a/pageserver/src/disk_usage_eviction_task.rs +++ b/pageserver/src/disk_usage_eviction_task.rs @@ -288,6 +288,7 @@ pub async fn disk_usage_eviction_task_iteration_impl( usage_pre: U, cancel: &CancellationToken, ) -> anyhow::Result> { + // use tokio's mutex to get a Sync guard (instead of std::sync::Mutex) let _g = state .mutex .try_lock()