LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - layer.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 70.1 % 1099 770
Test Date: 2024-02-29 11:57:12 Functions: 65.2 % 155 101

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::storage_layer::layer::DownloadError as core::fmt::Debug>::fmt 0
::source 0
::fmt 0
::fmt 0
<pageserver::tenant::storage_layer::layer::DownloadedLayer as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0}::{closure#2} 0
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#1} 0
<pageserver::tenant::storage_layer::layer::EvictionError as core::fmt::Debug>::fmt 0
::fmt 0
::fmt 0
<pageserver::tenant::storage_layer::layer::Layer as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::layer::Layer>::access_stats 0
<pageserver::tenant::storage_layer::layer::Layer>::download 0
::download 0
::download::{closure#0} 0
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating::{closure#1} 0
<pageserver::tenant::storage_layer::layer::Layer>::for_evicted 0
<pageserver::tenant::storage_layer::layer::Layer>::get_value_reconstruct_data::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::layer::Layer>::info 0
<pageserver::tenant::storage_layer::layer::Layer>::wait_drop 0
<pageserver::tenant::storage_layer::layer::Layer>::wait_drop::{closure#0} 0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_delete_removes_failed 0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_deletes_failed 0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_download_failed_without_requester 0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_permanent_loading_failures 0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_raced_wanted_evicted_accesses 0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::record_redownloaded_after 0
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}::{closure#1} 0
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}::{closure#2} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::check_expected_download 0
<pageserver::tenant::storage_layer::layer::LayerInner>::check_expected_download::{closure#0} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking::{closure#1} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking::{closure#2} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking::{closure#3} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}::{closure#1} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}::{closure#2} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}::{closure#3} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}::{closure#4} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::info 0
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait 0
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait::{closure#0} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait::{closure#0}::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait::{closure#0}::{closure#0}::{closure#1} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait::{closure#0}::{closure#1} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait::{closure#0}::{closure#2} 0
<pageserver::tenant::storage_layer::layer::LayerKind as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::layer::NeedsDownload as core::fmt::Debug>::fmt 0
::eq 0
::fmt 0
<pageserver::tenant::storage_layer::layer::NeedsDownload as core::fmt::Display>::fmt 0
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_broadcast_lagged 2
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_eviction_cancelled 2
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_init_needed_no_download 2
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_retried_get_or_maybe_download 2
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_init_cancelled 4
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}::{closure#0} 4
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_evictions 6
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking::{closure#0} 6
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0} 6
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0} 6
<pageserver::tenant::storage_layer::layer::Status as core::fmt::Debug>::fmt 6
::fmt 0
::clone 6
pageserver::tenant::storage_layer::layer::capture_mtime_and_remove 6
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::dump 8
::dump 4
::dump::{closure#0} 4
<pageserver::tenant::storage_layer::layer::Layer>::dump 8
::dump 4
::dump::{closure#0} 4
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_started_evictions 8
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking 8
<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop 8
<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop::{closure#0} 8
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::downgrade 8
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0}::{closure#1} 10
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data 10
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data::{closure#0} 10
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data 10
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data::{closure#0} 10
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default 12
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#10} 12
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#11} 12
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#3} 12
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#4} 12
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#5} 12
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#6} 12
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#7} 12
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#8} 12
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#9} 12
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download 12
::needs_download 6
::needs_download::{closure#0} 6
<pageserver::tenant::storage_layer::layer::LayerInner as core::fmt::Display>::fmt 14
<pageserver::tenant::storage_layer::layer::Layer>::evict_and_wait 20
::evict_and_wait 10
::evict_and_wait::{closure#0} 10
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_and_wait 20
::evict_and_wait 10
::evict_and_wait::{closure#0} 10
<pageserver::tenant::storage_layer::layer::DeleteFailed as enum_map::internal::Enum>::from_usize 24
::into_usize 0
::from_usize 24
<pageserver::tenant::storage_layer::layer::DeleteFailed>::as_str 24
<pageserver::tenant::storage_layer::layer::Layer>::for_resident 24
<pageserver::tenant::storage_layer::layer::Layer>::for_resident::{closure#0} 24
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#1} 24
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download_blocking 24
<pageserver::tenant::storage_layer::layer::LayerInner>::is_file_present_and_good_size 26
<pageserver::tenant::storage_layer::layer::Layer>::keep_resident 32
::keep_resident 16
::keep_resident::{closure#0} 16
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#2} 84
<pageserver::tenant::storage_layer::layer::RareEvent>::as_str 84
<pageserver::tenant::storage_layer::layer::RareEvent as enum_map::internal::Enum>::from_usize 90
::into_usize 6
::from_usize 84
<pageserver::tenant::storage_layer::layer::EvictionCancelled>::as_str 96
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#0} 96
<pageserver::tenant::storage_layer::layer::EvictionCancelled as enum_map::internal::Enum>::from_usize 98
::into_usize 2
::from_usize 96
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_deletes 302
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_started_deletes 302
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0} 302
<pageserver::tenant::storage_layer::layer::Layer>::delete_on_drop 304
<pageserver::tenant::storage_layer::layer::LayerInner>::delete_on_drop 304
<pageserver::tenant::storage_layer::layer::Layer as core::convert::From<pageserver::tenant::storage_layer::layer::ResidentLayer>>::from 322
<pageserver::tenant::storage_layer::layer::ResidentLayer>::drop_eviction_guard 322
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop 326
<pageserver::tenant::storage_layer::layer::DownloadedLayer as core::ops::drop::Drop>::drop 332
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0}::{closure#0} 440
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0} 450
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0} 450
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::clone::Clone>::clone 518
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating 554
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating::{closure#0} 554
<pageserver::tenant::storage_layer::layer::Layer>::metadata 562
<pageserver::tenant::storage_layer::layer::ResidentLayer>::metadata 562
<pageserver::tenant::storage_layer::layer::LayerInner>::new 578
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::convert::AsRef<pageserver::tenant::storage_layer::layer::Layer>>::as_ref 584
<pageserver::tenant::storage_layer::layer::Layer>::download_and_keep_resident 600
::download_and_keep_resident 300
::download_and_keep_resident::{closure#0} 300
<pageserver::tenant::storage_layer::layer::ResidentLayer>::load_keys 600
::load_keys::{closure#0} 0
::load_keys 300
::load_keys::{closure#0}::{closure#0} 300
<pageserver::tenant::storage_layer::layer::Layer>::local_path 658
<pageserver::tenant::storage_layer::layer::LayerInner>::metadata 864
<pageserver::tenant::storage_layer::layer::ResidentLayer>::local_path 1109
<pageserver::tenant::storage_layer::layer::Layer as core::fmt::Display>::fmt 1162
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Display>::fmt 1162
<pageserver::tenant::storage_layer::layer::ResidentLayer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc 1280
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_value_reconstruct_data 124028
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_value_reconstruct_data::{closure#0} 124028
<pageserver::tenant::storage_layer::layer::Layer>::get_value_reconstruct_data 124028
<pageserver::tenant::storage_layer::layer::Layer>::get_value_reconstruct_data::{closure#0} 124028
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get 124342
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0} 124342
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::get_and_upgrade 124356
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download 124358
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0} 124358
<pageserver::tenant::storage_layer::layer::Layer as core::clone::Clone>::clone 252100
<pageserver::tenant::storage_layer::layer::Layer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc 378256
<pageserver::tenant::storage_layer::layer::LayerInner as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc 379780

Generated by: LCOV version 2.1-beta