LCOV - code coverage report
Current view:
top level
-
pageserver/src/tenant/storage_layer
- layer.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
aca8877be6ceba750c1be359ed71bc1799d52b30.info
Lines:
86.1 %
1055
908
Test Date:
2024-02-14 18:05:35
Functions:
82.0 %
150
123
Function Name
Hit count
<pageserver::tenant::storage_layer::layer::DeleteFailed as enum_map::internal::Enum>::from_usize
1276
::from_usize
1262
::into_usize
14
<pageserver::tenant::storage_layer::layer::DeleteFailed>::as_str
1262
<pageserver::tenant::storage_layer::layer::DownloadError as core::fmt::Debug>::fmt
13
::source
7
::fmt
0
::fmt
6
<pageserver::tenant::storage_layer::layer::DownloadedLayer as core::fmt::Debug>::fmt
0
<pageserver::tenant::storage_layer::layer::DownloadedLayer as core::ops::drop::Drop>::drop
24222
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::dump
8
::dump
4
::dump::{closure#0}
4
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get
16847898
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}
16847864
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}
33380
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0}
33380
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0}::{closure#0}
12085
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0}::{closure#1}
21294
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#0}::{closure#0}::{closure#2}
1
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get::{closure#0}::{closure#1}
20
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_value_reconstruct_data
16843790
<pageserver::tenant::storage_layer::layer::DownloadedLayer>::get_value_reconstruct_data::{closure#0}
16843756
<pageserver::tenant::storage_layer::layer::EvictionCancelled as enum_map::internal::Enum>::from_usize
5048
::from_usize
5048
::into_usize
0
<pageserver::tenant::storage_layer::layer::EvictionCancelled>::as_str
5048
<pageserver::tenant::storage_layer::layer::EvictionError as core::fmt::Debug>::fmt
0
::fmt
0
::fmt
0
<pageserver::tenant::storage_layer::layer::Layer as core::clone::Clone>::clone
33838544
<pageserver::tenant::storage_layer::layer::Layer as core::convert::From<pageserver::tenant::storage_layer::layer::ResidentLayer>>::from
20216
<pageserver::tenant::storage_layer::layer::Layer as core::fmt::Debug>::fmt
0
<pageserver::tenant::storage_layer::layer::Layer as core::fmt::Display>::fmt
34303
<pageserver::tenant::storage_layer::layer::Layer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
51268809
<pageserver::tenant::storage_layer::layer::Layer>::access_stats
4194
<pageserver::tenant::storage_layer::layer::Layer>::delete_on_drop
5157
<pageserver::tenant::storage_layer::layer::Layer>::download
24
::download
12
::download::{closure#0}
12
<pageserver::tenant::storage_layer::layer::Layer>::download_and_keep_resident
8264
::download_and_keep_resident
4132
::download_and_keep_resident::{closure#0}
4132
<pageserver::tenant::storage_layer::layer::Layer>::dump
8
::dump
4
::dump::{closure#0}
4
<pageserver::tenant::storage_layer::layer::Layer>::evict_and_wait
5034
::evict_and_wait
2517
::evict_and_wait::{closure#0}
2517
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating
22304
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating::{closure#0}
22304
<pageserver::tenant::storage_layer::layer::Layer>::finish_creating::{closure#1}
0
<pageserver::tenant::storage_layer::layer::Layer>::for_evicted
40899
<pageserver::tenant::storage_layer::layer::Layer>::for_resident
12153
<pageserver::tenant::storage_layer::layer::Layer>::for_resident::{closure#0}
12153
<pageserver::tenant::storage_layer::layer::Layer>::get_value_reconstruct_data
16843799
<pageserver::tenant::storage_layer::layer::Layer>::get_value_reconstruct_data::{closure#0}
16843765
<pageserver::tenant::storage_layer::layer::Layer>::get_value_reconstruct_data::{closure#0}::{closure#0}
20
<pageserver::tenant::storage_layer::layer::Layer>::info
3050
<pageserver::tenant::storage_layer::layer::Layer>::keep_resident
9624
::keep_resident
4812
::keep_resident::{closure#0}
4812
<pageserver::tenant::storage_layer::layer::Layer>::local_path
23733
<pageserver::tenant::storage_layer::layer::Layer>::metadata
24849
<pageserver::tenant::storage_layer::layer::Layer>::wait_drop
1080
<pageserver::tenant::storage_layer::layer::Layer>::wait_drop::{closure#0}
1080
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default
631
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#0}
5048
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#10}
631
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#11}
631
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#1}
1262
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#2}
4417
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#3}
631
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#4}
631
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#5}
631
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#6}
631
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#7}
631
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#8}
631
<pageserver::tenant::storage_layer::layer::LayerImplMetrics as core::default::Default>::default::{closure#9}
631
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_broadcast_lagged
0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_deletes
5143
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_completed_evictions
2515
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_delete_removes_failed
0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_deletes_failed
14
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_download_failed_without_requester
4
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_eviction_cancelled
0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_init_cancelled
627
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_init_needed_no_download
0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_permanent_loading_failures
1
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_raced_wanted_evicted_accesses
0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_retried_get_or_maybe_download
0
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_started_deletes
5157
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::inc_started_evictions
2515
<pageserver::tenant::storage_layer::layer::LayerImplMetrics>::record_redownloaded_after
165
<pageserver::tenant::storage_layer::layer::LayerInner as core::fmt::Display>::fmt
22070
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop
44421
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}
5157
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}::{closure#0}
0
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}::{closure#1}
14
<pageserver::tenant::storage_layer::layer::LayerInner as core::ops::drop::Drop>::drop::{closure#0}::{closure#2}
0
<pageserver::tenant::storage_layer::layer::LayerInner as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
51316664
<pageserver::tenant::storage_layer::layer::LayerInner>::check_expected_download
9455
<pageserver::tenant::storage_layer::layer::LayerInner>::check_expected_download::{closure#0}
0
<pageserver::tenant::storage_layer::layer::LayerInner>::delete_on_drop
5157
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_and_wait
5034
::evict_and_wait
2517
::evict_and_wait::{closure#0}
2517
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking
2515
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking::{closure#0}
2515
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking::{closure#1}
0
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking::{closure#2}
0
<pageserver::tenant::storage_layer::layer::LayerInner>::evict_blocking::{closure#3}
0
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download
16852759
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}
16852725
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}
10086
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}
10086
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}::{closure#0}
627
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}::{closure#1}
0
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}::{closure#2}
165
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}::{closure#3}
9470
<pageserver::tenant::storage_layer::layer::LayerInner>::get_or_maybe_download::{closure#0}::{closure#0}::{closure#0}::{closure#4}
325
<pageserver::tenant::storage_layer::layer::LayerInner>::info
3050
<pageserver::tenant::storage_layer::layer::LayerInner>::is_file_present_and_good_size
21609
<pageserver::tenant::storage_layer::layer::LayerInner>::metadata
39475
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download
39084
::needs_download
19542
::needs_download::{closure#0}
19542
<pageserver::tenant::storage_layer::layer::LayerInner>::needs_download_blocking
53052
<pageserver::tenant::storage_layer::layer::LayerInner>::new
75356
<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop
2515
<pageserver::tenant::storage_layer::layer::LayerInner>::on_downloaded_layer_drop::{closure#0}
2515
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait
9469
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait::{closure#0}
9469
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait::{closure#0}::{closure#0}
9469
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait::{closure#0}::{closure#0}::{closure#0}
16
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait::{closure#0}::{closure#0}::{closure#1}
4
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait::{closure#0}::{closure#1}
9456
<pageserver::tenant::storage_layer::layer::LayerInner>::spawn_download_and_wait::{closure#0}::{closure#2}
6
<pageserver::tenant::storage_layer::layer::LayerKind as core::fmt::Debug>::fmt
0
<pageserver::tenant::storage_layer::layer::NeedsDownload as core::fmt::Debug>::fmt
0
::eq
0
::fmt
0
<pageserver::tenant::storage_layer::layer::NeedsDownload as core::fmt::Display>::fmt
9470
<pageserver::tenant::storage_layer::layer::RareEvent as enum_map::internal::Enum>::from_usize
4422
::from_usize
4417
::into_usize
5
<pageserver::tenant::storage_layer::layer::RareEvent>::as_str
4417
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::clone::Clone>::clone
26586
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::convert::AsRef<pageserver::tenant::storage_layer::layer::Layer>>::as_ref
33052
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Debug>::fmt
0
<pageserver::tenant::storage_layer::layer::ResidentLayer as core::fmt::Display>::fmt
34268
<pageserver::tenant::storage_layer::layer::ResidentLayer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
77442
<pageserver::tenant::storage_layer::layer::ResidentLayer>::drop_eviction_guard
20216
<pageserver::tenant::storage_layer::layer::ResidentLayer>::load_keys
8208
::load_keys
4104
::load_keys::{closure#0}
0
::load_keys::{closure#0}::{closure#0}
4104
<pageserver::tenant::storage_layer::layer::ResidentLayer>::local_path
45907
<pageserver::tenant::storage_layer::layer::ResidentLayer>::metadata
22334
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted as core::fmt::Debug>::fmt
0
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::downgrade
2515
<pageserver::tenant::storage_layer::layer::ResidentOrWantedEvicted>::get_and_upgrade
16852129
<pageserver::tenant::storage_layer::layer::Status as core::fmt::Debug>::fmt
2515
::clone
2515
::fmt
0
pageserver::tenant::storage_layer::layer::capture_mtime_and_remove
2515
Generated by:
LCOV version 2.1-beta