From 9fe77c527f03b47fc4a995ce20b81454ce487964 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Wed, 15 Jan 2025 21:47:39 +0100 Subject: [PATCH] inline get_impl; https://github.com/neondatabase/neon/pull/10386#discussion_r1916939623 --- pageserver/src/tenant/timeline/handle.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pageserver/src/tenant/timeline/handle.rs b/pageserver/src/tenant/timeline/handle.rs index 09e8582e64..2edd90e73c 100644 --- a/pageserver/src/tenant/timeline/handle.rs +++ b/pageserver/src/tenant/timeline/handle.rs @@ -348,17 +348,6 @@ impl Cache { timeline_id: TimelineId, shard_selector: ShardSelector, tenant_manager: &T::TenantManager, - ) -> Result, GetError> { - self.get_impl(timeline_id, shard_selector, tenant_manager) - .await - } - - #[instrument(level = "trace", skip_all)] - async fn get_impl( - &mut self, - timeline_id: TimelineId, - shard_selector: ShardSelector, - tenant_manager: &T::TenantManager, ) -> Result, GetError> { // terminates because when every iteration we remove an element from the map let miss: ShardSelector = loop {