LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - layer.rs (source / functions) Coverage Total Hit
Test: a2776bf42b420512b50fede714e94e827acbbd55.info Lines: 78.2 % 1319 1031
Test Date: 2025-03-13 16:38:48 Functions: 79.2 % 144 114

Function Name Sort by function name Hit count Sort by function hit count
<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::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}::{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} 0
<pageserver::tenant::storage_layer::layer::ResidentLayer>::load_keys::{closure#0}::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::layer::Layer>::wait_drop 4
<pageserver::tenant::storage_layer::layer::Layer>::wait_drop::{closure#0} 4
<pageserver::tenant::storage_layer::layer::Layer as core::cmp::PartialEq>::eq 7
<pageserver::tenant::storage_layer::layer::Layer as core::fmt::Debug>::fmt 8
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_init_needed_no_download 12
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::dump 16
::dump 8
::dump::{closure#0} 8
<pageserver::tenant::storage_layer::layer::Layer>::dump 16
::dump 8
::dump::{closure#0} 8
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_eviction_cancelled 16
<pageserver::tenant::storage_layer::layer::ResidentLayer>::filter::{closure#0} 16
<pageserver::tenant::storage_layer::layer::ResidentLayer>::copy_delta_prefix 20
<pageserver::tenant::storage_layer::layer::ResidentLayer>::copy_delta_prefix::{closure#0} 20
<pageserver::tenant::storage_layer::layer::Layer>::keep_resident::{closure#0}::{closure#0} 28
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::record_redownloaded_after 28
<pageserver::tenant::storage_layer::layer::LayerInner>::download_and_init 28
<pageserver::tenant::storage_layer::layer::LayerInner>::download_and_init::{closure#0} 28
<pageserver::tenant::storage_layer::layer::LayerInner>::download_and_init::{closure#0}::{closure#0} 28
<pageserver::tenant::storage_layer::layer::LayerInner>::download_init_and_wait 28
<pageserver::tenant::storage_layer::layer::LayerInner>::download_init_and_wait::{closure#0} 28
<pageserver::tenant::storage_layer::layer::LayerInner>::download_init_and_wait::{closure#0}::{closure#1} 28
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#3} 28
<pageserver::tenant::storage_layer::layer::NeedsDownload as core::fmt::Display>::fmt 28
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::get 28
<pageserver::tenant::storage_layer::layer::LayerInner>::check_expected_download 32
<pageserver::tenant::storage_layer::layer::LayerInner>::initialize_after_layer_is_on_disk 40
<pageserver::tenant::storage_layer::layer::LastEviction>::happened_after 52
<pageserver::tenant::storage_layer::layer::Layer>::last_evicted_at 52
<pageserver::tenant::storage_layer::layer::Layer>::latest_activity 68
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_evictions 68
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::record_time_to_evict 68
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking 68
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict::{closure#0}::{closure#0} 68
pageserver::tenant::storage_layer::layer::capture_mtime_and_remove 68
<pageserver::tenant::storage_layer::layer::Layer>::keep_resident 80
::keep_resident 40
::keep_resident::{closure#0} 40
<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop 80
<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop::{closure#0} 80
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict 80
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict::{closure#0} 80
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_started_evictions 84
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::downgrade 92
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_and_wait::{closure#0} 104
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default 106
<pageserver::tenant::storage_layer::layer::LayerInner as core::fmt::Display>::fmt 108
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn::<tracing::instrument::Instrumented<<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop::{closure#0}>> 108
::spawn::::download_init_and_wait::{closure#0}::{closure#1}>> 28
::spawn::::on_downloaded_layer_drop::{closure#0}>> 80
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_image 136
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_image::{closure#0} 136
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict::{closure#0}::is_good_to_continue 156
<pageserver::tenant::storage_layer::layer::Layer>::visibility 184
<pageserver::tenant::storage_layer::layer::Layer>::evict_and_wait 208
::evict_and_wait 104
::evict_and_wait::{closure#0} 104
<pageserver::tenant::storage_layer::layer::DeleteFailed>::as_str 212
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#1} 212
<pageserver::tenant::storage_layer::layer::Layer>::is_likely_resident::{closure#0} 223
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::is_likely_resident 223
<pageserver::tenant::storage_layer::layer::Layer>::for_resident 244
<pageserver::tenant::storage_layer::layer::Layer>::for_resident::{closure#0} 244
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download_blocking 244
<pageserver::tenant::storage_layer::layer::Layer>::is_likely_resident 359
<pageserver::tenant::storage_layer::layer::Layer as core::convert::From<pageserver::tenant::storage_layer::layer::ResidentLayer>>::from 673
<pageserver::tenant::storage_layer::layer::ResidentLayer>::drop_eviction_guard 673
<pageserver::tenant::storage_layer::layer::Layer>::set_visibility 717
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#2} 742
<pageserver::tenant::storage_layer::layer::RareEvent>::as_str 742
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_deletes 846
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0} 850
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_started_deletes 865
<pageserver::tenant::storage_layer::layer::Layer>::delete_on_drop 873
<pageserver::tenant::storage_layer::layer::LayerInner>::delete_on_drop 873
<pageserver::tenant::storage_layer::layer::LayerInner>::is_file_present_and_good_size 900
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_blocking::<<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}> 919
::spawn_blocking::<::wait_for_turn_and_evict::{closure#0}::{closure#0}> 68
::spawn_blocking::<::drop::{closure#0}> 851
<pageserver::tenant::storage_layer::layer::EvictionCancelled>::as_str 954
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#0} 954
<pageserver::tenant::storage_layer::layer::Layer>::download_and_keep_resident 981
<pageserver::tenant::storage_layer::layer::Layer>::download_and_keep_resident::{closure#0} 981
<pageserver::tenant::storage_layer::layer::Layer>::needs_download 1216
::needs_download 608
::needs_download::{closure#0} 608
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop 1243
<pageserver::tenant::storage_layer::layer::DownloadedLayer as core::ops::drop::Drop>::drop 1319
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download 1376
::needs_download 688
::needs_download::{closure#0} 688
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_delta 1574
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_delta::{closure#0} 1574
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0} 2448
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0} 2448
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating 3361
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating::{closure#0} 3361
<pageserver::tenant::storage_layer::layer::Layer>::local_path 3365
<pageserver::tenant::storage_layer::layer::ResidentLayer>::local_path 3416
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::convert::AsRef<pageserver::tenant::storage_layer::layer::Layer>>::as_ref 3542
pageserver::tenant::storage_layer::layer::local_layer_path 3573
<pageserver::tenant::storage_layer::layer::LayerInner>::new 3605
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Display>::fmt 3866
<pageserver::tenant::storage_layer::layer::Layer as core::fmt::Display>::fmt 3890
<pageserver::tenant::storage_layer::layer::ResidentLayer>::metadata 4147
<pageserver::tenant::storage_layer::layer::Layer>::metadata 4851
<pageserver::tenant::storage_layer::layer::LayerInner>::metadata 5730
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data 480599
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data::{closure#0} 480599
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data 480599
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data::{closure#0} 480599
<pageserver::tenant::storage_layer::layer::Layer>::record_access 480599
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#1} 481580
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::get_and_upgrade 481580
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download 481612
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0} 481612
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get 482353
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0} 482353
<pageserver::tenant::storage_layer::layer::ResidentLayer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc 603430
<pageserver::tenant::storage_layer::layer::Layer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc 2064730
<pageserver::tenant::storage_layer::layer::LayerInner as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc 2069093

Generated by: LCOV version 2.1-beta