LCOV - code coverage report
Current view: top level - pageserver/src/tenant/secondary - downloader.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 72.7 % 512 372
Test Date: 2024-02-14 18:05:35 Functions: 56.2 % 73 41

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::secondary::downloader::CompleteDownload as pageserver::tenant::secondary::scheduler::Completion>::get_tenant_shard_id 24
<pageserver::tenant::secondary::downloader::OnDiskState as core::fmt::Debug>::fmt 1858
::clone 1858
::fmt 0
<pageserver::tenant::secondary::downloader::OnDiskState>::new 1262
<pageserver::tenant::secondary::downloader::PendingDownload as pageserver::tenant::secondary::scheduler::PendingJob>::get_tenant_shard_id 25
<pageserver::tenant::secondary::downloader::RunningDownload as pageserver::tenant::secondary::scheduler::RunningJob>::get_barrier 6
<pageserver::tenant::secondary::downloader::SecondaryDetail as core::fmt::Debug>::fmt 0
<pageserver::tenant::secondary::downloader::SecondaryDetail>::get_layers_for_eviction 2
<pageserver::tenant::secondary::downloader::SecondaryDetail>::get_layers_for_eviction::{closure#0} 38
<pageserver::tenant::secondary::downloader::SecondaryDetail>::get_layers_for_eviction::{closure#1} 38
<pageserver::tenant::secondary::downloader::SecondaryDetail>::get_layers_for_eviction::{closure#2} 0
<pageserver::tenant::secondary::downloader::SecondaryDetail>::new 33
<pageserver::tenant::secondary::downloader::SecondaryDetailTimeline as core::fmt::Debug>::fmt 11
::clone 7
::default 4
::fmt 0
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::on_command 6
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::on_completion 8
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::on_completion::{closure#0} 0
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::schedule 2514
>::schedule 1257
>::schedule::{closure#0} 1257
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::schedule::{closure#0}::{closure#0} 10
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::schedule::{closure#0}::{closure#1} 10
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::schedule::{closure#0}::{closure#2} 0
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::spawn 8
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::spawn::{closure#0} 8
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::spawn::{closure#0}::{closure#0} 1
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::spawn::{closure#0}::{closure#1} 0
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::spawn::{closure#0}::{closure#2} 0
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::spawn::{closure#0}::{closure#3} 0
<pageserver::tenant::secondary::downloader::SecondaryDownloader as pageserver::tenant::secondary::scheduler::JobGenerator<pageserver::tenant::secondary::downloader::PendingDownload, pageserver::tenant::secondary::downloader::RunningDownload, pageserver::tenant::secondary::downloader::CompleteDownload, pageserver::tenant::secondary::DownloadCommand>>::spawn::{closure#0}::{closure#4} 0
<pageserver::tenant::secondary::downloader::TenantDownloader>::download 16
::download 8
::download::{closure#0} 8
<pageserver::tenant::secondary::downloader::TenantDownloader>::download::{closure#0}::{closure#0} 55
<pageserver::tenant::secondary::downloader::TenantDownloader>::download::{closure#0}::{closure#1} 0
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_heatmap 16
::download_heatmap 8
::download_heatmap::{closure#0} 8
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_heatmap::{closure#0}::{closure#0} 8
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_heatmap::{closure#0}::{closure#0}::{closure#0} 8
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_heatmap::{closure#0}::{closure#1} 0
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_heatmap::{closure#0}::{closure#2} 0
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_heatmap::{closure#0}::{closure#3} 8
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_heatmap::{closure#0}::{closure#4} 0
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_timeline 14
::download_timeline 7
::download_timeline::{closure#0} 7
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_timeline::{closure#0}::{closure#0} 3119
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_timeline::{closure#0}::{closure#10} 7
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_timeline::{closure#0}::{closure#1} 1858
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_timeline::{closure#0}::{closure#2} 1
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_timeline::{closure#0}::{closure#3} 0
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_timeline::{closure#0}::{closure#4} 0
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_timeline::{closure#0}::{closure#5} 0
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_timeline::{closure#0}::{closure#6} 0
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_timeline::{closure#0}::{closure#7} 0
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_timeline::{closure#0}::{closure#8} 0
<pageserver::tenant::secondary::downloader::TenantDownloader>::download_timeline::{closure#0}::{closure#9} 0
<pageserver::tenant::secondary::downloader::TenantDownloader>::new 8
<pageserver::tenant::secondary::downloader::UpdateError as core::convert::From<remote_storage::DownloadError>>::from 1
<pageserver::tenant::secondary::downloader::UpdateError as core::convert::From<std::io::error::Error>>::from 0
<pageserver::tenant::secondary::downloader::UpdateError as core::fmt::Debug>::fmt 0
>::from 0
>::from 0
::source 0
::fmt 0
::fmt 0
pageserver::tenant::secondary::downloader::downloader_task 625
pageserver::tenant::secondary::downloader::downloader_task::{closure#0} 625
pageserver::tenant::secondary::downloader::init_timeline_state 4
pageserver::tenant::secondary::downloader::init_timeline_state::{closure#0} 4
pageserver::tenant::secondary::downloader::init_timeline_state::{closure#0}::{closure#0} 0
pageserver::tenant::secondary::downloader::init_timeline_state::{closure#0}::{closure#1} 4
pageserver::tenant::secondary::downloader::init_timeline_state::{closure#0}::{closure#2} 0
pageserver::tenant::secondary::downloader::init_timeline_state::{closure#0}::{closure#3} 0
pageserver::tenant::secondary::downloader::init_timeline_state::{closure#0}::{closure#4} 0
pageserver::tenant::secondary::downloader::strftime 0

Generated by: LCOV version 2.1-beta