LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - layer.rs (source / functions) Coverage Total Hit
Test: 7eb96e224e685167ad85f58f858387d8cf253f63.info Lines: 78.0 % 1311 1023
Test Date: 2024-09-23 21:23:07 Functions: 77.2 % 149 115

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::storage_layer::layer::DownloadError as core::fmt::Display>::fmt 0
::source 0
::fmt 0
<pageserver::tenant::storage_layer::layer::DownloadError>::is_cancelled 0
<pageserver::tenant::storage_layer::layer::DownloadedLayer as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#1} 0
<pageserver::tenant::storage_layer::layer::EvictionError as core::fmt::Display>::fmt 0
<pageserver::tenant::storage_layer::layer::Layer as core::fmt::Debug>::fmt 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_timeline_id 0
<pageserver::tenant::storage_layer::layer::Layer>::get_timeline_id::{closure#0} 0
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data::{closure#0}::{closure#1} 0
<pageserver::tenant::storage_layer::layer::Layer>::info 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_evicted_with_waiters 0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_init_cancelled 0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_init_completed_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::LayerInner>::download_init_and_wait::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#2} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#3} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#5}::{closure#0} 0
<pageserver::tenant::storage_layer::layer::LayerInner>::info 0
<pageserver::tenant::storage_layer::layer::LayerInner>::info::{closure#0} 0
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::layer::ResidentLayer>::copy_delta_prefix::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::layer::ResidentLayer>::load_keys::{closure#0}::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::layer::Layer>::wait_drop 6
<pageserver::tenant::storage_layer::layer::Layer>::wait_drop::{closure#0} 6
<pageserver::tenant::storage_layer::layer::LayerInner>::check_expected_download 6
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#4} 6
<pageserver::tenant::storage_layer::layer::Layer as core::cmp::PartialEq>::eq 11
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_init_needed_no_download 18
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::record_redownloaded_after 18
<pageserver::tenant::storage_layer::layer::LayerInner>::download_and_init 18
<pageserver::tenant::storage_layer::layer::LayerInner>::download_and_init::{closure#0} 18
<pageserver::tenant::storage_layer::layer::LayerInner>::download_and_init::{closure#0}::{closure#0} 18
<pageserver::tenant::storage_layer::layer::LayerInner>::download_init_and_wait 18
<pageserver::tenant::storage_layer::layer::LayerInner>::download_init_and_wait::{closure#0} 18
<pageserver::tenant::storage_layer::layer::LayerInner>::download_init_and_wait::{closure#0}::{closure#1} 18
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#5} 18
<pageserver::tenant::storage_layer::layer::NeedsDownload as core::fmt::Display>::fmt 18
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::dump 24
::dump 12
::dump::{closure#0} 12
<pageserver::tenant::storage_layer::layer::Layer>::dump 24
::dump 12
::dump::{closure#0} 12
<pageserver::tenant::storage_layer::layer::Layer>::latest_activity 24
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_eviction_cancelled 24
<pageserver::tenant::storage_layer::layer::Layer>::visibility 30
<pageserver::tenant::storage_layer::layer::ResidentLayer>::copy_delta_prefix 30
<pageserver::tenant::storage_layer::layer::ResidentLayer>::copy_delta_prefix::{closure#0} 30
<pageserver::tenant::storage_layer::layer::LayerInner>::initialize_after_layer_is_on_disk 36
<pageserver::tenant::storage_layer::layer::Layer>::keep_resident::{closure#0}::{closure#0} 42
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::get 42
<pageserver::tenant::storage_layer::layer::ResidentLayer>::filter::{closure#0} 48
::filter::{closure#0} 24
::filter::{closure#0}::{closure#0} 24
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_evictions 54
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::record_time_to_evict 54
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking 54
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict::{closure#0}::{closure#0} 54
pageserver::tenant::storage_layer::layer::capture_mtime_and_remove 54
<pageserver::tenant::storage_layer::layer::Layer>::for_resident 72
<pageserver::tenant::storage_layer::layer::Layer>::for_resident::{closure#0} 72
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download_blocking 72
<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop 72
<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop::{closure#0} 72
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict 72
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict::{closure#0} 72
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_started_evictions 78
<pageserver::tenant::storage_layer::layer::LayerInner as core::fmt::Display>::fmt 90
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn::<tracing::instrument::Instrumented<<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop::{closure#0}>> 90
::spawn::::download_init_and_wait::{closure#0}::{closure#1}>> 18
::spawn::::on_downloaded_layer_drop::{closure#0}>> 72
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::downgrade 90
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_image 114
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_image::{closure#0} 114
<pageserver::tenant::storage_layer::layer::Layer>::keep_resident 120
::keep_resident 60
::keep_resident::{closure#0} 60
<pageserver::tenant::storage_layer::layer::LayerInner>::is_file_present_and_good_size 120
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default 126
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict::{closure#0}::is_good_to_continue 138
<pageserver::tenant::storage_layer::layer::Layer>::is_likely_resident::{closure#0} 143
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::is_likely_resident 143
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download 144
::needs_download 72
::needs_download::{closure#0} 72
<pageserver::tenant::storage_layer::layer::Layer>::is_likely_resident 161
<pageserver::tenant::storage_layer::layer::Layer>::evict_and_wait 216
::evict_and_wait 108
::evict_and_wait::{closure#0} 108
<pageserver::tenant::storage_layer::layer::DeleteFailed>::as_str 252
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#1} 252
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_and_wait::{closure#0} 312
::evict_and_wait::{closure#0}::{closure#0} 96
::evict_and_wait::{closure#0} 108
::evict_and_wait::{closure#0}::{closure#0}::{closure#0} 108
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#2} 882
<pageserver::tenant::storage_layer::layer::RareEvent>::as_str 882
<pageserver::tenant::storage_layer::layer::Layer>::set_visibility 924
<pageserver::tenant::storage_layer::layer::EvictionCancelled>::as_str 1134
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#0} 1134
<pageserver::tenant::storage_layer::layer::Layer as core::convert::From<pageserver::tenant::storage_layer::layer::ResidentLayer>>::from 1260
<pageserver::tenant::storage_layer::layer::ResidentLayer>::drop_eviction_guard 1260
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_deletes 1384
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0} 1384
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_started_deletes 1398
<pageserver::tenant::storage_layer::layer::Layer>::delete_on_drop 1410
<pageserver::tenant::storage_layer::layer::LayerInner>::delete_on_drop 1410
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_blocking::<<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}> 1440
::spawn_blocking::<::wait_for_turn_and_evict::{closure#0}::{closure#0}> 54
::spawn_blocking::<::drop::{closure#0}> 1386
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_delta 1524
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_delta::{closure#0} 1524
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop 1722
<pageserver::tenant::storage_layer::layer::DownloadedLayer as core::ops::drop::Drop>::drop 1788
<pageserver::tenant::storage_layer::layer::ResidentLayer>::load_keys::{closure#0} 2412
::load_keys::{closure#0} 1206
::load_keys::{closure#0}::{closure#0} 1206
<pageserver::tenant::storage_layer::layer::Layer>::download_and_keep_resident 2976
::download_and_keep_resident 1488
::download_and_keep_resident::{closure#0} 1488
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0} 3450
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0} 3450
<pageserver::tenant::storage_layer::layer::ResidentLayer>::metadata 4614
<pageserver::tenant::storage_layer::layer::ResidentLayer>::local_path 5067
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating 5124
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating::{closure#0} 5124
<pageserver::tenant::storage_layer::layer::Layer>::local_path 5130
pageserver::tenant::storage_layer::layer::local_layer_path 5148
<pageserver::tenant::storage_layer::layer::LayerInner>::new 5196
<pageserver::tenant::storage_layer::layer::Layer as core::fmt::Display>::fmt 5760
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Display>::fmt 5760
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::convert::AsRef<pageserver::tenant::storage_layer::layer::Layer>>::as_ref 5784
<pageserver::tenant::storage_layer::layer::Layer>::metadata 5808
<pageserver::tenant::storage_layer::layer::LayerInner>::metadata 7212
<pageserver::tenant::storage_layer::layer::ResidentLayer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc 17787
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data 636949
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data::{closure#0} 636949
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data 636949
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data::{closure#0} 636949
<pageserver::tenant::storage_layer::layer::Layer>::record_access 638155
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#1} 638461
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::get_and_upgrade 638461
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download 638485
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0} 638485
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get 639859
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0} 639859
<pageserver::tenant::storage_layer::layer::Layer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc 1508983
<pageserver::tenant::storage_layer::layer::LayerInner as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc 1516003

Generated by: LCOV version 2.1-beta