LCOV - code coverage report
Current view:
top level
-
pageserver/src/tenant/storage_layer
- layer.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info
Lines:
78.0 %
1314
1025
Test Date:
2024-10-22 22:13:45
Functions:
78.0 %
150
117
Function Name
Hit count
<pageserver::tenant::storage_layer::layer::DeleteFailed>::as_str
84
<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 as core::ops::drop::Drop>::drop
578
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::dump
8
::dump
4
::dump::{closure#0}
4
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get
213035
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}
213035
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}
1148
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0}
1148
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#1}
0
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data
212061
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data::{closure#0}
212061
<pageserver::tenant::storage_layer::layer::EvictionCancelled>::as_str
378
<pageserver::tenant::storage_layer::layer::EvictionError as core::fmt::Display>::fmt
0
<pageserver::tenant::storage_layer::layer::Layer as core::cmp::PartialEq>::eq
3
<pageserver::tenant::storage_layer::layer::Layer as core::convert::From<pageserver::tenant::storage_layer::layer::ResidentLayer>>::from
420
<pageserver::tenant::storage_layer::layer::Layer as core::fmt::Debug>::fmt
0
<pageserver::tenant::storage_layer::layer::Layer as core::fmt::Display>::fmt
1916
<pageserver::tenant::storage_layer::layer::Layer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
502542
<pageserver::tenant::storage_layer::layer::Layer>::delete_on_drop
464
<pageserver::tenant::storage_layer::layer::Layer>::download
0
::download
0
::download::{closure#0}
0
<pageserver::tenant::storage_layer::layer::Layer>::download_and_keep_resident
992
::download_and_keep_resident
496
::download_and_keep_resident::{closure#0}
496
<pageserver::tenant::storage_layer::layer::Layer>::dump
8
::dump
4
::dump::{closure#0}
4
<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::Layer>::finish_creating
1690
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating::{closure#0}
1690
<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>::for_resident
24
<pageserver::tenant::storage_layer::layer::Layer>::for_resident::{closure#0}
24
<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
212061
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data::{closure#0}
212061
<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::Layer>::is_likely_resident
53
<pageserver::tenant::storage_layer::layer::Layer>::is_likely_resident::{closure#0}
47
<pageserver::tenant::storage_layer::layer::Layer>::keep_resident
40
::keep_resident
20
::keep_resident::{closure#0}
20
<pageserver::tenant::storage_layer::layer::Layer>::keep_resident::{closure#0}::{closure#0}
14
<pageserver::tenant::storage_layer::layer::Layer>::latest_activity
8
<pageserver::tenant::storage_layer::layer::Layer>::local_path
1692
<pageserver::tenant::storage_layer::layer::Layer>::metadata
1932
<pageserver::tenant::storage_layer::layer::Layer>::needs_download
164
::needs_download
82
::needs_download::{closure#0}
82
<pageserver::tenant::storage_layer::layer::Layer>::record_access
212463
<pageserver::tenant::storage_layer::layer::Layer>::set_visibility
312
<pageserver::tenant::storage_layer::layer::Layer>::visibility
10
<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::LayerImplMetrics as core::default::Default>::default
42
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#0}
378
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#1}
84
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#2}
294
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_deletes
457
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_evictions
18
<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_eviction_cancelled
8
<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_init_needed_no_download
6
<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>::inc_started_deletes
460
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_started_evictions
26
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::record_redownloaded_after
6
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::record_time_to_evict
18
<pageserver::tenant::storage_layer::layer::LayerInner as core::fmt::Display>::fmt
30
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop
556
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}
457
<pageserver::tenant::storage_layer::layer::LayerInner as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
504862
<pageserver::tenant::storage_layer::layer::LayerInner>::check_expected_download
2
<pageserver::tenant::storage_layer::layer::LayerInner>::delete_on_drop
464
<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#0}
0
<pageserver::tenant::storage_layer::layer::LayerInner>::download_init_and_wait::{closure#0}::{closure#1}
6
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_and_wait::{closure#0}
104
::evict_and_wait::{closure#0}
36
::evict_and_wait::{closure#0}::{closure#0}
32
::evict_and_wait::{closure#0}::{closure#0}::{closure#0}
36
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking
18
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download
212573
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}
212573
<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#1}
212565
<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}
2
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#4}
6
<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::LayerInner>::initialize_after_layer_is_on_disk
12
<pageserver::tenant::storage_layer::layer::LayerInner>::is_file_present_and_good_size
122
<pageserver::tenant::storage_layer::layer::LayerInner>::metadata
2396
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download
212
::needs_download
106
::needs_download::{closure#0}
106
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download_blocking
24
<pageserver::tenant::storage_layer::layer::LayerInner>::new
1714
<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>::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::LayerInner>::spawn_blocking::<<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}>
476
::spawn_blocking::<
::drop::{closure#0}>
458
::spawn_blocking::<
::wait_for_turn_and_evict::{closure#0}::{closure#0}>
18
<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::LayerInner>::wait_for_turn_and_evict::{closure#0}::is_good_to_continue
46
<pageserver::tenant::storage_layer::layer::LayerInner>::wait_for_turn_and_evict::{closure#0}::{closure#0}
18
<pageserver::tenant::storage_layer::layer::NeedsDownload as core::fmt::Display>::fmt
6
<pageserver::tenant::storage_layer::layer::RareEvent>::as_str
294
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::convert::AsRef<pageserver::tenant::storage_layer::layer::Layer>>::as_ref
1924
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Debug>::fmt
0
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Display>::fmt
1916
<pageserver::tenant::storage_layer::layer::ResidentLayer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
5869
<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::ResidentLayer>::copy_delta_prefix::{closure#0}::{closure#0}
0
<pageserver::tenant::storage_layer::layer::ResidentLayer>::drop_eviction_guard
420
<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::ResidentLayer>::get_as_delta
512
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_delta::{closure#0}
512
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_image
38
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_image::{closure#0}
38
<pageserver::tenant::storage_layer::layer::ResidentLayer>::load_keys::{closure#0}
804
::load_keys::{closure#0}
402
::load_keys::{closure#0}::{closure#0}
402
<pageserver::tenant::storage_layer::layer::ResidentLayer>::load_keys::{closure#0}::{closure#0}::{closure#0}
0
<pageserver::tenant::storage_layer::layer::ResidentLayer>::local_path
1737
<pageserver::tenant::storage_layer::layer::ResidentLayer>::metadata
1534
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::downgrade
30
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::get
14
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::get_and_upgrade
212565
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::is_likely_resident
47
pageserver::tenant::storage_layer::layer::capture_mtime_and_remove
18
pageserver::tenant::storage_layer::layer::local_layer_path
1698
Generated by:
LCOV version 2.1-beta