LCOV - code coverage report
Current view:
top level
-
pageserver/src/tenant/storage_layer
- layer.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
a43a77853355b937a79c57b07a8f05607cf29e6c.info
Lines:
78.4 %
1305
1023
Test Date:
2024-09-19 12:04:32
Functions:
77.2 %
149
115
Function Name
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
9
<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}
141
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::is_likely_resident
141
<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
159
<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::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}>
1442
::spawn_blocking::<
::wait_for_turn_and_evict::{closure#0}::{closure#0}>
54
::spawn_blocking::<
::drop::{closure#0}>
1388
<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
1724
<pageserver::tenant::storage_layer::layer::DownloadedLayer as core::ops::drop::Drop>::drop
1790
<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}
3432
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0}
3432
<pageserver::tenant::storage_layer::layer::ResidentLayer>::metadata
4608
<pageserver::tenant::storage_layer::layer::ResidentLayer>::local_path
4995
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating
5100
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating::{closure#0}
5100
<pageserver::tenant::storage_layer::layer::Layer>::local_path
5106
pageserver::tenant::storage_layer::layer::local_layer_path
5124
<pageserver::tenant::storage_layer::layer::LayerInner>::new
5172
<pageserver::tenant::storage_layer::layer::Layer as core::fmt::Display>::fmt
5754
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Display>::fmt
5754
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::convert::AsRef<pageserver::tenant::storage_layer::layer::Layer>>::as_ref
5760
<pageserver::tenant::storage_layer::layer::Layer>::metadata
5802
<pageserver::tenant::storage_layer::layer::LayerInner>::metadata
7208
<pageserver::tenant::storage_layer::layer::Layer>::set_visibility
8070
<pageserver::tenant::storage_layer::layer::ResidentLayer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
17769
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data
639658
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data::{closure#0}
639658
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data
639658
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data::{closure#0}
639658
<pageserver::tenant::storage_layer::layer::Layer>::record_access
640864
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#1}
641170
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::get_and_upgrade
641170
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download
641194
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}
641194
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get
642568
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}
642568
<pageserver::tenant::storage_layer::layer::Layer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
1514689
<pageserver::tenant::storage_layer::layer::LayerInner as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
1521719
Generated by:
LCOV version 2.1-beta