LCOV - code coverage report
Current view:
top level
-
pageserver/src/tenant/storage_layer
- layer.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
52d9d4a58355424a48c56cb9ba9670a073f618b9.info
Lines:
77.9 %
1314
1024
Test Date:
2024-11-21 08:31:22
Functions:
76.7 %
150
115
Function Name
Hit count
<pageserver::tenant::storage_layer::layer::DeleteFailed>::as_str
92
<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
597
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::dump
8
::dump
4
::dump::{closure#0}
4
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get
242260
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}
242260
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}
1190
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0}
1190
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#1}
0
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data
241248
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_values_reconstruct_data::{closure#0}
241248
<pageserver::tenant::storage_layer::layer::EvictionCancelled>::as_str
414
<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
1940
<pageserver::tenant::storage_layer::layer::Layer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
497938
<pageserver::tenant::storage_layer::layer::Layer>::delete_on_drop
490
<pageserver::tenant::storage_layer::layer::Layer>::download
0
::download
0
::download::{closure#0}
0
<pageserver::tenant::storage_layer::layer::Layer>::download_and_keep_resident
1068
::download_and_keep_resident
534
::download_and_keep_resident::{closure#0}
534
<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
1730
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating::{closure#0}
1730
<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
241248
<pageserver::tenant::storage_layer::layer::Layer>::get_values_reconstruct_data::{closure#0}
241248
<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
1732
<pageserver::tenant::storage_layer::layer::Layer>::metadata
1960
<pageserver::tenant::storage_layer::layer::Layer>::needs_download
240
::needs_download
120
::needs_download::{closure#0}
120
<pageserver::tenant::storage_layer::layer::Layer>::record_access
241248
<pageserver::tenant::storage_layer::layer::Layer>::set_visibility
318
<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
46
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#0}
414
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#1}
92
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#2}
322
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_deletes
476
<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
486
<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
575
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}
476
<pageserver::tenant::storage_layer::layer::LayerInner as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
500353
<pageserver::tenant::storage_layer::layer::LayerInner>::check_expected_download
2
<pageserver::tenant::storage_layer::layer::LayerInner>::delete_on_drop
490
<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
241798
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}
241798
<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}
241790
<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
160
<pageserver::tenant::storage_layer::layer::LayerInner>::metadata
2443
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download
288
::needs_download
144
::needs_download::{closure#0}
144
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download_blocking
24
<pageserver::tenant::storage_layer::layer::LayerInner>::new
1754
<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}>
495
::spawn_blocking::<
::drop::{closure#0}>
477
::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
322
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::convert::AsRef<pageserver::tenant::storage_layer::layer::Layer>>::as_ref
1964
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Debug>::fmt
0
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Display>::fmt
1940
<pageserver::tenant::storage_layer::layer::ResidentLayer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
6000
<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
930
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_delta::{closure#0}
930
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_image
60
<pageserver::tenant::storage_layer::layer::ResidentLayer>::get_as_image::{closure#0}
60
<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::ResidentLayer>::local_path
1776
<pageserver::tenant::storage_layer::layer::ResidentLayer>::metadata
1558
<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
241790
<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
1738
Generated by:
LCOV version 2.1-beta