LCOV - code coverage report
Current view:
top level
-
pageserver/src/tenant
- mgr.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
3eba1babe267649f8cebefc91c236589db030548.info
Lines:
16.5 %
1284
212
Test Date:
2024-11-22 12:36:12
Functions:
10.6 %
161
17
Function Name
Hit count
<pageserver::tenant::mgr::BackgroundPurges>::shutdown::{closure#0}
0
::shutdown::{closure#0}
0
::shutdown::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::BackgroundPurges>::spawn
0
<pageserver::tenant::mgr::BackgroundPurges>::spawn::{closure#0}
0
<pageserver::tenant::mgr::DeleteTenantError as core::fmt::Display>::fmt
0
>::from
0
>::from
0
::source
0
::fmt
0
<pageserver::tenant::mgr::DeleteTimelineError as core::fmt::Display>::fmt
0
>::from
0
>::from
0
::source
0
::fmt
0
<pageserver::tenant::mgr::GetActiveTenantError as core::fmt::Display>::fmt
0
>::from
0
::source
0
::fmt
0
<pageserver::tenant::mgr::GetTenantError as core::fmt::Display>::fmt
0
>::from
0
::source
0
::fmt
0
<pageserver::tenant::mgr::SlotGuard>::revert
0
<pageserver::tenant::mgr::SlotGuard>::upsert
0
<pageserver::tenant::mgr::TenantManager>::calculate_utilization
0
<pageserver::tenant::mgr::TenantManager>::complete_detaching_timeline_ancestor
0
<pageserver::tenant::mgr::TenantManager>::complete_detaching_timeline_ancestor::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::complete_detaching_timeline_ancestor::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::complete_detaching_timeline_ancestor::{closure#0}::{closure#1}
0
<pageserver::tenant::mgr::TenantManager>::complete_detaching_timeline_ancestor::{closure#0}::{closure#2}
0
<pageserver::tenant::mgr::TenantManager>::complete_detaching_timeline_ancestor::{closure#0}::{closure#3}
0
<pageserver::tenant::mgr::TenantManager>::complete_detaching_timeline_ancestor::{closure#0}::{closure#4}
0
<pageserver::tenant::mgr::TenantManager>::complete_detaching_timeline_ancestor::{closure#0}::{closure#5}
0
<pageserver::tenant::mgr::TenantManager>::delete_tenant
0
<pageserver::tenant::mgr::TenantManager>::delete_tenant::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::delete_tenant::{closure#0}::delete_local
0
<pageserver::tenant::mgr::TenantManager>::delete_tenant::{closure#0}::delete_local::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::delete_tenant::{closure#0}::delete_local::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::delete_tenant::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::delete_tenant::{closure#0}::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::delete_tenant::{closure#0}::{closure#1}
0
<pageserver::tenant::mgr::TenantManager>::delete_tenant::{closure#0}::{closure#2}
0
<pageserver::tenant::mgr::TenantManager>::detach_tenant
0
<pageserver::tenant::mgr::TenantManager>::detach_tenant0
0
<pageserver::tenant::mgr::TenantManager>::detach_tenant0::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::detach_tenant0::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::detach_tenant0::{closure#0}::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::detach_tenant0::{closure#0}::{closure#0}::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::detach_tenant::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::do_shard_split
0
<pageserver::tenant::mgr::TenantManager>::do_shard_split::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::do_shard_split::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::do_shard_split::{closure#0}::{closure#10}
0
<pageserver::tenant::mgr::TenantManager>::do_shard_split::{closure#0}::{closure#13}
0
<pageserver::tenant::mgr::TenantManager>::do_shard_split::{closure#0}::{closure#16}
0
<pageserver::tenant::mgr::TenantManager>::do_shard_split::{closure#0}::{closure#1}
0
<pageserver::tenant::mgr::TenantManager>::do_shard_split::{closure#0}::{closure#3}
0
::do_shard_split::{closure#0}::{closure#3}
0
::do_shard_split::{closure#0}::{closure#4}
0
<pageserver::tenant::mgr::TenantManager>::do_shard_split::{closure#0}::{closure#5}
0
<pageserver::tenant::mgr::TenantManager>::do_shard_split::{closure#0}::{closure#7}
0
<pageserver::tenant::mgr::TenantManager>::do_shard_split::{closure#0}::{closure#8}
0
<pageserver::tenant::mgr::TenantManager>::do_shard_split::{closure#0}::{closure#9}
0
<pageserver::tenant::mgr::TenantManager>::foreach_secondary_tenants::<pageserver::disk_usage_eviction_task::collect_eviction_candidates::{closure#0}::{closure#2}>
0
::foreach_secondary_tenants::<
>::schedule::{closure#0}::{closure#0}>
0
::foreach_secondary_tenants::
0
<pageserver::tenant::mgr::TenantManager>::get
0
<pageserver::tenant::mgr::TenantManager>::get_attached_active_tenant_shards
0
<pageserver::tenant::mgr::TenantManager>::get_attached_active_tenant_shards::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::get_attached_active_tenant_shards::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::get_attached_tenant_shard
0
<pageserver::tenant::mgr::TenantManager>::get_conf
0
<pageserver::tenant::mgr::TenantManager>::get_secondary_tenant_shard
0
<pageserver::tenant::mgr::TenantManager>::immediate_gc::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::immediate_gc::{closure#0}::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::immediate_gc::{closure#0}::{closure#0}::{closure#1}
0
<pageserver::tenant::mgr::TenantManager>::immediate_gc::{closure#0}::{closure#0}::{closure#2}
0
<pageserver::tenant::mgr::TenantManager>::immediate_gc::{closure#0}::{closure#0}::{closure#3}
0
<pageserver::tenant::mgr::TenantManager>::immediate_gc::{closure#0}::{closure#0}::{closure#4}
0
<pageserver::tenant::mgr::TenantManager>::immediate_gc::{closure#0}::{closure#0}::{closure#5}
0
<pageserver::tenant::mgr::TenantManager>::list
0
<pageserver::tenant::mgr::TenantManager>::list::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::list_tenants
0
<pageserver::tenant::mgr::TenantManager>::list_tenants::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::manages_tenant_shard
0
<pageserver::tenant::mgr::TenantManager>::reset_tenant::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::resolve_attached_shard
0
<pageserver::tenant::mgr::TenantManager>::shard_split::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::shard_split_hardlink
0
<pageserver::tenant::mgr::TenantManager>::shard_split_hardlink::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::shard_split_hardlink::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::shard_split_hardlink::{closure#0}::{closure#1}
0
<pageserver::tenant::mgr::TenantManager>::shutdown::{closure#0}
0
::shutdown::{closure#0}
0
::shutdown::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::upsert_location::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::upsert_location::{closure#0}::{closure#0}::{closure#0}
0
<pageserver::tenant::mgr::TenantManager>::upsert_location::{closure#0}::{closure#0}::{closure#1}
0
<pageserver::tenant::mgr::TenantMapError as core::fmt::Display>::fmt
0
<pageserver::tenant::mgr::TenantMapInsertError as core::fmt::Display>::fmt
0
>::from
0
>::from
0
>::from
0
::source
0
::fmt
0
<pageserver::tenant::mgr::TenantMapListError as core::fmt::Display>::fmt
0
<pageserver::tenant::mgr::TenantSlot as core::fmt::Debug>::fmt
0
<pageserver::tenant::mgr::TenantSlot>::get_attached
0
<pageserver::tenant::mgr::TenantSlotDropError as core::fmt::Display>::fmt
0
<pageserver::tenant::mgr::TenantSlotError as core::fmt::Display>::fmt
0
>::from
0
::source
0
::fmt
0
<pageserver::tenant::mgr::TenantSlotUpsertError as core::fmt::Debug>::fmt
0
<pageserver::tenant::mgr::TenantSlotUpsertError as core::fmt::Display>::fmt
0
::source
0
::fmt
0
<pageserver::tenant::mgr::TenantStartupMode>::from_reattach_tenant
0
<pageserver::tenant::mgr::TenantStateError as core::fmt::Display>::fmt
0
>::from
0
>::from
0
>::from
0
::source
0
::fmt
0
<pageserver::tenant::mgr::TenantsMap>::get
0
<pageserver::tenant::mgr::TenantsMap>::get::{closure#0}
0
<pageserver::tenant::mgr::TenantsMap>::len
0
<pageserver::tenant::mgr::UpsertLocationError as core::fmt::Display>::fmt
0
>::from
0
::source
0
::fmt
0
pageserver::tenant::mgr::emergency_generations
0
pageserver::tenant::mgr::emergency_generations::{closure#0}
0
pageserver::tenant::mgr::init_load_generations
0
pageserver::tenant::mgr::init_load_generations::{closure#0}
0
pageserver::tenant::mgr::init_load_generations::{closure#0}::{closure#0}
0
pageserver::tenant::mgr::init_load_generations::{closure#0}::{closure#0}::{closure#0}
0
pageserver::tenant::mgr::init_load_generations::{closure#0}::{closure#1}
0
pageserver::tenant::mgr::init_load_generations::{closure#0}::{closure#1}::{closure#0}
0
pageserver::tenant::mgr::init_load_tenant_configs
0
pageserver::tenant::mgr::init_load_tenant_configs::{closure#0}
0
pageserver::tenant::mgr::init_load_tenant_configs::{closure#0}::{closure#0}
0
pageserver::tenant::mgr::init_load_tenant_configs::{closure#0}::{closure#1}
0
pageserver::tenant::mgr::init_tenant_mgr::{closure#0}::{closure#0}
0
pageserver::tenant::mgr::init_tenant_mgr::{closure#0}::{closure#0}::{closure#0}
0
pageserver::tenant::mgr::load_tenant_config
0
pageserver::tenant::mgr::remove_tenant_from_memory::<(), pageserver::tenant::mgr::tests::shutdown_awaits_in_progress_tenant::{closure#0}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}
0
pageserver::tenant::mgr::remove_tenant_from_memory::<(), pageserver::tenant::mgr::tests::shutdown_awaits_in_progress_tenant::{closure#0}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}
0
pageserver::tenant::mgr::remove_tenant_from_memory::
::detach_tenant0::{closure#0}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}
0
pageserver::tenant::mgr::safe_rename_tenant_dir::<&camino::Utf8PathBuf>
0
pageserver::tenant::mgr::safe_rename_tenant_dir::<&camino::Utf8PathBuf>
0
pageserver::tenant::mgr::safe_rename_tenant_dir::<&camino::Utf8PathBuf>::{closure#0}
0
pageserver::tenant::mgr::shutdown_all_tenants0::{closure#0}::{closure#0}
0
pageserver::tenant::mgr::tenant_map_acquire_slot
0
pageserver::tenant::mgr::tenant_map_peek_slot
0
pageserver::tenant::mgr::tenant_spawn
0
<pageserver::tenant::mgr::SlotGuard as core::ops::drop::Drop>::drop
2
<pageserver::tenant::mgr::SlotGuard>::drop_old_value
2
<pageserver::tenant::mgr::SlotGuard>::get_old_value
2
<pageserver::tenant::mgr::SlotGuard>::new
2
<pageserver::tenant::mgr::SlotGuard>::old_value_is_shutdown
2
pageserver::tenant::mgr::TENANTS::{closure#0}
2
pageserver::tenant::mgr::remove_tenant_from_memory::<(), pageserver::tenant::mgr::tests::shutdown_awaits_in_progress_tenant::{closure#0}::{closure#0}::{closure#0}>
2
pageserver::tenant::mgr::remove_tenant_from_memory::
::detach_tenant0::{closure#0}::{closure#0}::{closure#0}>
0
pageserver::tenant::mgr::remove_tenant_from_memory::<(), pageserver::tenant::mgr::tests::shutdown_awaits_in_progress_tenant::{closure#0}::{closure#0}::{closure#0}>
2
pageserver::tenant::mgr::remove_tenant_from_memory::<(), pageserver::tenant::mgr::tests::shutdown_awaits_in_progress_tenant::{closure#0}::{closure#0}::{closure#0}>::{closure#0}
2
pageserver::tenant::mgr::remove_tenant_from_memory::
::detach_tenant0::{closure#0}::{closure#0}::{closure#0}>::{closure#0}
0
pageserver::tenant::mgr::remove_tenant_from_memory::<(), pageserver::tenant::mgr::tests::shutdown_awaits_in_progress_tenant::{closure#0}::{closure#0}::{closure#0}>::{closure#0}
2
pageserver::tenant::mgr::shutdown_all_tenants0::{closure#0}::{closure#1}
2
pageserver::tenant::mgr::tenant_map_acquire_slot_impl
2
pageserver::tenant::mgr::tests::shutdown_awaits_in_progress_tenant::{closure#0}::{closure#0}
2
pageserver::tenant::mgr::tests::shutdown_awaits_in_progress_tenant::{closure#0}::{closure#0}::{closure#0}
2
pageserver::tenant::mgr::tests::shutdown_awaits_in_progress_tenant::{closure#0}::{closure#1}
2
pageserver::tenant::mgr::shutdown_all_tenants0
4
pageserver::tenant::mgr::shutdown_all_tenants0
2
pageserver::tenant::mgr::shutdown_all_tenants0::{closure#0}
2
pageserver::tenant::mgr::tests::shutdown_awaits_in_progress_tenant
4
pageserver::tenant::mgr::tests::shutdown_awaits_in_progress_tenant
2
pageserver::tenant::mgr::tests::shutdown_awaits_in_progress_tenant::{closure#0}
2
Generated by:
LCOV version 2.1-beta