LCOV - code coverage report
Current view:
top level
-
pageserver/src/tenant/timeline
- compaction.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info
Lines:
61.2 %
1712
1047
Test Date:
2024-10-22 22:13:45
Functions:
42.4 %
132
56
Function Name
Hit count
<<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::Hole as core::cmp::Ord>::cmp
0
<<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::Hole as core::cmp::PartialOrd>::partial_cmp
0
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#16}
0
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#3}
0
<pageserver::tenant::timeline::Timeline>::compact_shard_ancestors
0
<pageserver::tenant::timeline::Timeline>::compact_shard_ancestors::{closure#0}
0
<pageserver::tenant::timeline::Timeline>::compact_tiered
0
<pageserver::tenant::timeline::Timeline>::compact_tiered::{closure#0}
0
<pageserver::tenant::timeline::Timeline>::compact_tiered::{closure#0}::{closure#0}
0
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::generate_debug_trace
0
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::generate_debug_trace::{closure#0}
0
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::generate_history_trace
0
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::{closure#1}
0
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::{closure#2}
0
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::{closure#3}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#0}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#10}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#11}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#12}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#1}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#2}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#3}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#4}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#5}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#6}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#7}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#8}
0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#9}
0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::delta_layer::DeltaLayer> as core::ops::deref::Deref>::deref
0
as core::ops::deref::Deref>::deref
0
as core::ops::deref::Deref>::deref
0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::delta_layer::DeltaLayer> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::file_size
0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::delta_layer::DeltaLayer> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::is_delta
0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::delta_layer::DeltaLayer> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::key_range
0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::delta_layer::DeltaLayer> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::lsn_range
0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::delta_layer::DeltaLayer> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::short_id
0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc> as core::convert::AsRef<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc>>::as_ref
0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::file_size
0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::is_delta
0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::key_range
0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::lsn_range
0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::short_id
0
<pageserver::tenant::timeline::compaction::ResidentDeltaLayer as pageserver_compaction::interface::CompactionDeltaLayer<pageserver::tenant::timeline::compaction::TimelineAdaptor>>::load_keys
0
>::load_keys
0
>::load_keys::{closure#0}
0
<pageserver::tenant::timeline::compaction::ResidentDeltaLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::file_size
0
<pageserver::tenant::timeline::compaction::ResidentDeltaLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::is_delta
0
<pageserver::tenant::timeline::compaction::ResidentDeltaLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::key_range
0
<pageserver::tenant::timeline::compaction::ResidentDeltaLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::lsn_range
0
<pageserver::tenant::timeline::compaction::ResidentDeltaLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::short_id
0
<pageserver::tenant::timeline::compaction::ResidentImageLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::file_size
0
<pageserver::tenant::timeline::compaction::ResidentImageLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::is_delta
0
<pageserver::tenant::timeline::compaction::ResidentImageLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::key_range
0
<pageserver::tenant::timeline::compaction::ResidentImageLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::lsn_range
0
<pageserver::tenant::timeline::compaction::ResidentImageLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::short_id
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::create_delta
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::create_delta::{closure#0}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::create_delta::{closure#0}::{closure#0}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::create_delta::{closure#0}::{closure#3}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::create_image
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::create_image::{closure#0}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::delete_layer
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::delete_layer::{closure#0}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::downcast_delta_layer
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::downcast_delta_layer::{closure#0}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::get_keyspace
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::get_keyspace::{closure#0}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::get_layers
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::get_layers::{closure#0}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::get_layers::{closure#0}::{closure#0}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::get_shard_identity
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor>::create_image_impl
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor>::create_image_impl::{closure#0}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor>::create_image_impl::{closure#0}::{closure#0}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor>::flush_updates
0
::flush_updates
0
::flush_updates::{closure#0}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor>::flush_updates::{closure#0}::{closure#0}
0
<pageserver::tenant::timeline::compaction::TimelineAdaptor>::new
0
<pageserver::tenant::timeline::compaction::CompactionStatistics>::discard_delta_layer
8
<pageserver::tenant::timeline::compaction::CompactionStatistics>::discard_image_layer
8
<pageserver::tenant::timeline::compaction::CompactionStatistics>::produce_delta_layer
10
<pageserver::tenant::timeline::compaction::CompactionStatistics>::produce_image_layer
12
<pageserver::tenant::timeline::Timeline>::check_compaction_space
26
<pageserver::tenant::timeline::Timeline>::check_compaction_space::{closure#0}
26
<pageserver::tenant::timeline::Timeline>::compact_with_gc
26
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}
26
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::{closure#0}
26
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#8}
28
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from
28
<pageserver::tenant::timeline::compaction::CompactionStatistics>::visit_image_layer
36
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::{closure#5}
38
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::{closure#5}::{closure#0}
38
<pageserver::tenant::timeline::compaction::CompactionStatistics>::visit_delta_layer
46
<pageserver::tenant::timeline::Timeline>::check_available_space
52
::check_available_space
26
::check_available_space::{closure#0}
26
<pageserver::tenant::timeline::compaction::KeyHistoryRetention>::discard_key
76
::discard_key
38
::discard_key::{closure#0}
38
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::{closure#2}
82
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::{closure#3}
82
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::{closure#4}
82
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::{closure#6}
82
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::{closure#1}
100
<pageserver::tenant::timeline::compaction::CompactionStatistics>::produce_wal_key
126
<pageserver::tenant::timeline::compaction::CompactionStatistics>::produce_key
128
<pageserver::tenant::timeline::compaction::CompactionStatistics>::visit_wal_key
140
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::{closure#4}
156
<pageserver::tenant::timeline::Timeline>::update_layer_visibility
192
<pageserver::tenant::timeline::Timeline>::update_layer_visibility::{closure#0}
192
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#7}
308
<pageserver::tenant::timeline::Timeline>::compact_legacy
364
<pageserver::tenant::timeline::Timeline>::compact_legacy::{closure#0}
364
<pageserver::tenant::timeline::Timeline>::compact_level0
364
<pageserver::tenant::timeline::Timeline>::compact_level0::{closure#0}
364
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1
364
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}
364
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#0}
402
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#9}
402
<pageserver::tenant::timeline::compaction::CompactionStatistics>::produce_image_key
410
<pageserver::tenant::timeline::compaction::CompactionStatistics>::visit_image_key
420
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::get_ancestor_image
422
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::get_ancestor_image::{closure#0}
422
<pageserver::tenant::timeline::compaction::CompactionStatistics>::on_unique_key_visited
422
<pageserver::tenant::timeline::compaction::KeyHistoryRetention>::pipe_to
422
<pageserver::tenant::timeline::compaction::KeyHistoryRetention>::pipe_to::{closure#0}
422
<pageserver::tenant::timeline::Timeline>::generate_key_retention
430
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}
430
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::{closure#0}
610
<pageserver::tenant::timeline::compaction::CompactionStatistics>::estimated_size_of_value
686
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#1}
748
<pageserver::tenant::timeline::compaction::CompactionStatistics>::estimated_size_of_key
1096
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#5}
2064010
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#6}
2064010
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#4}
2064038
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#2}
4423750
Generated by:
LCOV version 2.1-beta