LCOV - code coverage report
Current view: top level - pageserver/src/tenant - remote_timeline_client.rs (source / functions) Coverage Total Hit
Test: 6fa910d1c9aea142e54ede6987809ef55544c500.info Lines: 67.9 % 1858 1261
Test Date: 2024-11-19 23:07:42 Functions: 52.4 % 185 97

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::remote_timeline_client::PersistIndexPartWithDeletedFlagError as core::fmt::Display>::fmt 0
>::from 0
::source 0
::fmt 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::archived_at_stopped_queue 2
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::archived_at_stopped_queue::{closure#0} 2
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::archived_at_stopped_queue::{closure#1} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::copy_timeline_layer 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::copy_timeline_layer::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::copy_timeline_layer::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::copy_timeline_layer::{closure#0}::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::copy_timeline_layer::{closure#0}::{closure#1} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::copy_timeline_layer::{closure#0}::{closure#2} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all 0
::delete_all 0
::delete_all::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#10} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#11} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#12} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#13} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#14} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#15} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#17} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#1} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#2} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#3} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#4} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#5} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#5}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#6} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#6}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#7} 0
::delete_all::{closure#0}::{closure#7} 0
::delete_all::{closure#0}::{closure#7}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#8} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::delete_all::{closure#0}::{closure#9} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::download_index_file 20
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::download_index_file::{closure#0} 20
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::download_index_file::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::download_layer_file 6
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::download_layer_file::{closure#0} 6
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::flush_deletion_queue 0
::flush_deletion_queue 0
::flush_deletion_queue::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::get_remote_physical_size 2
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::init_upload_queue 6
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::init_upload_queue_for_empty_remote 412
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::init_upload_queue_stopped_to_continue_deletion 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::initialized_upload_queue 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::is_archived 2
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::is_archived::{closure#0} 2
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::is_deleting 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::is_previous_ancestor_lsn 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::is_previous_ancestor_lsn::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::launch_queued_tasks 7410
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::launch_queued_tasks::{closure#0} 3089
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::metric_begin 3469
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::metric_end 2879
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::metric_impl 6348
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::new 418
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::no_pending_work 8
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::perform_upload_task 6178
::perform_upload_task 3089
::perform_upload_task::{closure#0} 3089
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::perform_upload_task::{closure#0}::{closure#0} 17484
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::perform_upload_task::{closure#0}::{closure#1} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::perform_upload_task::{closure#0}::{closure#2} 1011
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::persist_index_part_with_deleted_flag::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::persist_index_part_with_deleted_flag::{closure#0}::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::persist_index_part_with_deleted_flag::{closure#0}::{closure#0}::{closure#1} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::persist_index_part_with_deleted_flag::{closure#0}::{closure#0}::{closure#2} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::persist_index_part_with_deleted_flag::{closure#0}::{closure#0}::{closure#3} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::persist_index_part_with_deleted_flag::{closure#0}::{closure#0}::{closure#4} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::preserve_initdb_archive 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::preserve_initdb_archive::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::preserve_initdb_archive::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::preserve_initdb_archive::{closure#0}::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::preserve_initdb_archive::{closure#0}::{closure#1} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::preserve_initdb_archive::{closure#0}::{closure#2} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::remote_consistent_lsn_projected 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::remote_consistent_lsn_visible 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_adding_existing_layers_to_index_detach_and_wait 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_adding_existing_layers_to_index_detach_and_wait::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_barrier 6
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_barrier0 1336
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_compaction_update 64
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_compaction_update::{closure#0} 476
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_deletion_of_unlinked 477
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_deletion_of_unlinked0 485
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_deletion_of_unlinked0::{closure#0} 479
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_gc_update 4
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_gc_update::{closure#0} 4
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_index_upload 1452
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_index_upload_for_file_changes 370
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_index_upload_for_full_metadata_update 230
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_index_upload_for_metadata_update 1146
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_index_upload_for_timeline_archival_state 2
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_index_upload_for_timeline_archival_state::need_change 4
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_index_upload_for_timeline_archival_state::{closure#0} 2
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_insert_gc_block_reason 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_insert_gc_block_reason::{closure#0} 0
::schedule_insert_gc_block_reason::{closure#0} 0
::schedule_insert_gc_block_reason::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_insert_gc_block_reason::{closure#1} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_insert_gc_block_reason::{closure#2} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_insert_gc_block_reason::{closure#3} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_layer_file_deletion 8
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_layer_file_upload 1190
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_layer_file_upload0 1538
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_remove_gc_block_reason 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_remove_gc_block_reason::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_remove_gc_block_reason::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_remove_gc_block_reason::{closure#1} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_remove_gc_block_reason::{closure#2} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_reparenting_and_wait 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_reparenting_and_wait::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_unlinking_of_layers_from_index_part0::<core::iter::adapters::cloned::Cloned<core::slice::iter::Iter<pageserver::tenant::storage_layer::layer_name::LayerName>>> 76
::schedule_unlinking_of_layers_from_index_part0::>> 8
::schedule_unlinking_of_layers_from_index_part0::, ::schedule_compaction_update::{closure#0}>> 64
::schedule_unlinking_of_layers_from_index_part0::, ::schedule_gc_update::{closure#0}>> 4
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::schedule_unlinking_of_layers_from_index_part0::<core::iter::adapters::cloned::Cloned<core::slice::iter::Iter<pageserver::tenant::storage_layer::layer_name::LayerName>>>::{closure#0} 482
::schedule_unlinking_of_layers_from_index_part0::>>::{closure#0} 2
::schedule_unlinking_of_layers_from_index_part0::, ::schedule_compaction_update::{closure#0}>>::{closure#0} 476
::schedule_unlinking_of_layers_from_index_part0::, ::schedule_gc_update::{closure#0}>>::{closure#0} 4
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::shutdown 16
::shutdown 8
::shutdown::{closure#0} 8
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::shutdown::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::stop 18
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::stop_impl 18
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::update_remote_physical_size_gauge 1825
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::update_remote_physical_size_gauge::{closure#0} 17519
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::upload_layer_file 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::upload_layer_file::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::upload_layer_file::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::upload_layer_file::{closure#0}::{closure#0}::{closure#0} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::upload_layer_file::{closure#0}::{closure#1} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::upload_layer_file::{closure#0}::{closure#2} 0
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::wait_completion 2660
::wait_completion 1330
::wait_completion::{closure#0} 1330
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::wait_completion0 1330
<pageserver::tenant::remote_timeline_client::RemoteTimelineClient>::wait_completion0::{closure#0} 1330
<pageserver::tenant::remote_timeline_client::UploadQueueAccessor>::latest_uploaded_index_part 0
<pageserver::tenant::remote_timeline_client::UploadQueueNotReadyError as core::fmt::Display>::fmt 0
<pageserver::tenant::remote_timeline_client::WaitCompletionError as core::fmt::Display>::fmt 0
::source 0
::fmt 0
<pageserver::tenant::remote_timeline_client::tests::TestSetup>::build_client 10
<pageserver::tenant::remote_timeline_client::tests::TestSetup>::new 16
::new 8
::new::{closure#0} 8
<pageserver::tenant::remote_timeline_client::tests::TestSetup>::span 6
<pageserver::tenant::remote_timeline_client::tests::bytes_unfinished_gauge_for_layer_file_uploads::{closure#0}::BytesStartedFinished as core::ops::arith::Add>::add 4
<pageserver::tenant::remote_timeline_client::tests::bytes_unfinished_gauge_for_layer_file_uploads::{closure#0}::BytesStartedFinished as core::ops::arith::Add>::add::{closure#0} 4
<pageserver::tenant::remote_timeline_client::tests::bytes_unfinished_gauge_for_layer_file_uploads::{closure#0}::BytesStartedFinished as core::ops::arith::Add>::add::{closure#1} 4
pageserver::tenant::remote_timeline_client::parse_remote_index_path 18
pageserver::tenant::remote_timeline_client::parse_remote_tenant_manifest_path 0
pageserver::tenant::remote_timeline_client::parse_remote_tenant_manifest_path::{closure#0} 0
pageserver::tenant::remote_timeline_client::parse_remote_tenant_manifest_path::{closure#1} 0
pageserver::tenant::remote_timeline_client::parse_remote_tenant_manifest_path::{closure#2} 0
pageserver::tenant::remote_timeline_client::remote_heatmap_path 0
pageserver::tenant::remote_timeline_client::remote_index_path 1478
pageserver::tenant::remote_timeline_client::remote_initdb_archive_path 4
pageserver::tenant::remote_timeline_client::remote_initdb_preserved_archive_path 2
pageserver::tenant::remote_timeline_client::remote_layer_path 1454
pageserver::tenant::remote_timeline_client::remote_tenant_manifest_path 578
pageserver::tenant::remote_timeline_client::remote_tenant_manifest_prefix 192
pageserver::tenant::remote_timeline_client::remote_tenant_path 0
pageserver::tenant::remote_timeline_client::remote_timeline_path 30
pageserver::tenant::remote_timeline_client::remote_timelines_path 222
pageserver::tenant::remote_timeline_client::remote_timelines_path_unsharded 0
pageserver::tenant::remote_timeline_client::tests::assert_file_list 2
pageserver::tenant::remote_timeline_client::tests::assert_file_list::{closure#0} 6
pageserver::tenant::remote_timeline_client::tests::assert_got_index_part 10
pageserver::tenant::remote_timeline_client::tests::assert_got_index_part::{closure#0} 10
pageserver::tenant::remote_timeline_client::tests::assert_remote_files 4
pageserver::tenant::remote_timeline_client::tests::assert_remote_files::{closure#0} 16
pageserver::tenant::remote_timeline_client::tests::bytes_unfinished_gauge_for_layer_file_uploads 4
pageserver::tenant::remote_timeline_client::tests::bytes_unfinished_gauge_for_layer_file_uploads 2
pageserver::tenant::remote_timeline_client::tests::bytes_unfinished_gauge_for_layer_file_uploads::{closure#0} 2
pageserver::tenant::remote_timeline_client::tests::bytes_unfinished_gauge_for_layer_file_uploads::{closure#0}::{closure#0} 6
pageserver::tenant::remote_timeline_client::tests::bytes_unfinished_gauge_for_layer_file_uploads::{closure#0}::{closure#0}::{closure#0} 6
pageserver::tenant::remote_timeline_client::tests::bytes_unfinished_gauge_for_layer_file_uploads::{closure#0}::{closure#0}::{closure#1} 6
pageserver::tenant::remote_timeline_client::tests::dummy_contents 8
pageserver::tenant::remote_timeline_client::tests::dummy_metadata 2
pageserver::tenant::remote_timeline_client::tests::index_part_download_ordering 4
pageserver::tenant::remote_timeline_client::tests::index_part_download_ordering 2
pageserver::tenant::remote_timeline_client::tests::index_part_download_ordering::{closure#0} 2
pageserver::tenant::remote_timeline_client::tests::index_part_download_simple 4
pageserver::tenant::remote_timeline_client::tests::index_part_download_simple 2
pageserver::tenant::remote_timeline_client::tests::index_part_download_simple::{closure#0} 2
pageserver::tenant::remote_timeline_client::tests::inject_index_part 24
pageserver::tenant::remote_timeline_client::tests::inject_index_part 12
pageserver::tenant::remote_timeline_client::tests::inject_index_part::{closure#0} 12
pageserver::tenant::remote_timeline_client::tests::upload_scheduling 4
pageserver::tenant::remote_timeline_client::tests::upload_scheduling 2
pageserver::tenant::remote_timeline_client::tests::upload_scheduling::{closure#0} 2
pageserver::tenant::remote_timeline_client::tests::upload_scheduling::{closure#0}::{closure#0} 2
pageserver::tenant::remote_timeline_client::tests::upload_scheduling::{closure#0}::{closure#1} 6
pageserver::tenant::remote_timeline_client::tests::upload_scheduling::{closure#0}::{closure#2} 6

Generated by: LCOV version 2.1-beta