LCOV - code coverage report
Current view:
top level
-
pageserver/src/tenant/storage_layer
- layer.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
4f58e98c51285c7fa348e0b410c88a10caf68ad2.info
Lines:
78.5 %
1313
1031
Test Date:
2025-01-07 20:58:07
Functions:
78.9 %
147
116
Function Name
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 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_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#4}::{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
::load_keys::{closure#0}
0
::load_keys::{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::LayerImplMetrics>::inc_evicted_with_waiters
1
<pageserver::tenant::storage_layer::layer::Layer>::wait_drop
2
<pageserver::tenant::storage_layer::layer::Layer>::wait_drop::{closure#0}
2
<pageserver::tenant::storage_layer::layer::LayerInner>::check_expected_download
2
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#3}
2
<pageserver::tenant::storage_layer::layer::Layer as core::cmp::PartialEq>::eq
4
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_init_needed_no_download
6
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::record_redownloaded_after
6
<pageserver::tenant::storage_layer::layer::LayerInner>::download_and_init
6
<pageserver::tenant::storage_layer::layer::LayerInner>::download_and_init::{closure#0}
6
<pageserver::tenant::storage_layer::layer::LayerInner>::download_and_init::{closure#0}::{closure#0}
6
<pageserver::tenant::storage_layer::layer::LayerInner>::download_init_and_wait
6
<pageserver::tenant::storage_layer::layer::LayerInner>::download_init_and_wait::{closure#0}
6
<pageserver::tenant::storage_layer::layer::LayerInner>::download_init_and_wait::{closure#0}::{closure#1}
6
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#4}
6
<pageserver::tenant::storage_layer::layer::NeedsDownload as core::fmt::Display>::fmt
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::Layer>::latest_activity
8
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_eviction_cancelled
8
<pageserver::tenant::storage_layer::layer::Layer>::visibility
10
<pageserver::tenant::storage_layer::layer::ResidentLayer>::copy_delta_prefix
10
<pageserver::tenant::storage_layer::layer::ResidentLayer>::copy_delta_prefix::{closure#0}
10
<pageserver::tenant::storage_layer::layer::LayerInner>::initialize_after_layer_is_on_disk
12
<pageserver::tenant::storage_layer::layer::Layer>::keep_resident::{closure#0}::{closure#0}
14
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::get
14
<pageserver::tenant::storage_layer::layer::ResidentLayer>::filter::{closure#0}
16
::filter::{closure#0}
8
::filter::{closure#0}::{closure#0}
8
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_evictions
18
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::record_time_to_evict
18
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking
18
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict::{closure#0}::{closure#0}
18
pageserver::tenant::storage_layer::layer::capture_mtime_and_remove
18
<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::LayerInner>::needs_download_blocking
24
<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop
24
<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop::{closure#0}
24
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict
24
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict::{closure#0}
24
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_started_evictions
26
<pageserver::tenant::storage_layer::layer::LayerInner as core::fmt::Display>::fmt
30
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn::<tracing::instrument::Instrumented<<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop::{closure#0}>>
30
::spawn::
::download_init_and_wait::{closure#0}::{closure#1}>>
6
::spawn::
::on_downloaded_layer_drop::{closure#0}>>
24
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::downgrade
30
<pageserver::tenant::storage_layer::layer::Layer>::keep_resident
40
::keep_resident
20
::keep_resident::{closure#0}
20
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict::{closure#0}::is_good_to_continue
46
<pageserver::tenant::storage_layer::layer::Layer>::is_likely_resident::{closure#0}
48
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::is_likely_resident
48
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default
50
<pageserver::tenant::storage_layer::layer::Layer>::is_likely_resident
54
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_image
68
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_image::{closure#0}
68
<pageserver::tenant::storage_layer::layer::Layer>::evict_and_wait
72
::evict_and_wait
36
::evict_and_wait::{closure#0}
36
<pageserver::tenant::storage_layer::layer::DeleteFailed>::as_str
100
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#1}
100
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_and_wait::{closure#0}
104
::evict_and_wait::{closure#0}::{closure#0}
32
::evict_and_wait::{closure#0}
36
::evict_and_wait::{closure#0}::{closure#0}::{closure#0}
36
<pageserver::tenant::storage_layer::layer::Layer>::set_visibility
322
<pageserver::tenant::storage_layer::layer::LayerInner>::is_file_present_and_good_size
344
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#2}
350
<pageserver::tenant::storage_layer::layer::RareEvent>::as_str
350
<pageserver::tenant::storage_layer::layer::Layer as core::convert::From<pageserver::tenant::storage_layer::layer::ResidentLayer>>::from
420
<pageserver::tenant::storage_layer::layer::ResidentLayer>::drop_eviction_guard
420
<pageserver::tenant::storage_layer::layer::EvictionCancelled>::as_str
450
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#0}
450
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_deletes
509
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}
511
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_started_deletes
516
<pageserver::tenant::storage_layer::layer::Layer>::delete_on_drop
520
<pageserver::tenant::storage_layer::layer::LayerInner>::delete_on_drop
520
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_blocking::<<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}>
530
::spawn_blocking::<
::wait_for_turn_and_evict::{closure#0}::{closure#0}>
18
::spawn_blocking::<
::drop::{closure#0}>
512
<pageserver::tenant::storage_layer::layer::Layer>::needs_download
608
::needs_download
304
::needs_download::{closure#0}
304
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop
610
<pageserver::tenant::storage_layer::layer::DownloadedLayer as core::ops::drop::Drop>::drop
632
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download
656
::needs_download
328
::needs_download::{closure#0}
328
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_delta
954
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_delta::{closure#0}
954
<pageserver::tenant::storage_layer::layer::Layer>::download_and_keep_resident
1132
::download_and_keep_resident
566
::download_and_keep_resident::{closure#0}
566
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}
1228
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0}
1228
<pageserver::tenant::storage_layer::layer::ResidentLayer>::metadata
1576
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating
1768
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating::{closure#0}
1768
<pageserver::tenant::storage_layer::layer::Layer>::local_path
1770
pageserver::tenant::storage_layer::layer::local_layer_path
1776
<pageserver::tenant::storage_layer::layer::LayerInner>::new
1792
<pageserver::tenant::storage_layer::layer::ResidentLayer>::local_path
1820
<pageserver::tenant::storage_layer::layer::Layer as core::fmt::Display>::fmt
1958
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Display>::fmt
1958
<pageserver::tenant::storage_layer::layer::Layer>::metadata
1980
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::convert::AsRef<pageserver::tenant::storage_layer::layer::Layer>>::as_ref
2002
<pageserver::tenant::storage_layer::layer::LayerInner>::metadata
2498
<pageserver::tenant::storage_layer::layer::ResidentLayer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
9171
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data
241205
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data::{closure#0}
241205
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data
241205
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data::{closure#0}
241205
<pageserver::tenant::storage_layer::layer::Layer>::record_access
241205
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#1}
241779
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::get_and_upgrade
241779
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download
241787
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}
241787
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get
242249
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}
242249
<pageserver::tenant::storage_layer::layer::Layer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
501671
<pageserver::tenant::storage_layer::layer::LayerInner as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
504261
Generated by:
LCOV version 2.1-beta