LCOV - code coverage report
Current view: top level - pageserver/src/tenant/timeline/walreceiver - connection_manager.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 96.0 % 1062 1019
Test Date: 2024-02-14 18:05:35 Functions: 77.9 % 104 81

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates::{closure#2}::{closure#0} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::next_connection_candidate::{closure#2} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::next_connection_candidate::{closure#3} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::next_connection_candidate::{closure#4} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::NewCommittedWAL as core::fmt::Debug>::fmt 0
::clone 0
::fmt 0
<pageserver::tenant::timeline::walreceiver::connection_manager::RetryInfo as core::fmt::Debug>::fmt 0
::clone 0
::fmt 0
<pageserver::tenant::timeline::walreceiver::connection_manager::WalConnection as core::fmt::Debug>::fmt 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#0} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#10} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#11} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#12} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#13} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#2} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#4}::{closure#0} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#4}::{closure#1} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#4}::{closure#2} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#5}::{closure#0} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#7} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#9} 0
pageserver::tenant::timeline::walreceiver::connection_manager::subscribe_for_timeline_updates::{closure#0}::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::candidate_with_many_connection_failures 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate::{closure#0}::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate::{closure#0}::{closure#0}::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::lsn_wal_over_threshold_current_candidate::{closure#0}::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::lsn_wal_over_threshold_current_candidate::{closure#0}::{closure#0}::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::switch_to_same_availability_zone 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::switch_to_same_availability_zone::{closure#0}::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::switch_to_same_availability_zone::{closure#0}::{closure#0}::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_connection_threshold_current_candidate::{closure#0}::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_connection_threshold_current_candidate::{closure#0}::{closure#0}::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::candidate_with_many_connection_failures::{closure#0} 4
pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate::{closure#0} 4
pageserver::tenant::timeline::walreceiver::connection_manager::tests::switch_to_same_availability_zone::{closure#0} 4
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_wal_over_threshold_current_candidate::{closure#0}::{closure#0} 4
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_wal_over_threshold_current_candidate::{closure#0}::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_wal_over_threshold_current_candidate::{closure#0}::{closure#0}::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::lsn_wal_over_threshold_current_candidate 6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::lsn_wal_over_threshold_current_candidate 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::lsn_wal_over_threshold_current_candidate::{closure#0} 4
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_candidate 6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_candidate 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_candidate::{closure#0} 4
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_no_candidate 6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_no_candidate 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_no_candidate::{closure#0} 4
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_connection_threshold_current_candidate 6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_connection_threshold_current_candidate 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_connection_threshold_current_candidate::{closure#0} 4
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_wal_over_threshold_current_candidate 6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_wal_over_threshold_current_candidate 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_wal_over_threshold_current_candidate::{closure#0} 4
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::cleanup_old_candidates::{closure#1} 11
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#8} 14
pageserver::tenant::timeline::walreceiver::connection_manager::tests::dummy_state 32
pageserver::tenant::timeline::walreceiver::connection_manager::tests::dummy_state 16
pageserver::tenant::timeline::walreceiver::connection_manager::tests::dummy_state::{closure#0} 16
pageserver::tenant::timeline::walreceiver::connection_manager::tests::dummy_broker_sk_timeline 38
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::change_connection::{closure#0}::{closure#0}::{closure#0}::{closure#0} 43
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#1} 557
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::register_timeline_update::{closure#0} 687
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::drop_old_connection::{closure#0}::{closure#0} 1027
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::shutdown 1122
::shutdown 561
::shutdown::{closure#0} 561
pageserver::tenant::timeline::walreceiver::connection_manager::subscribe_for_timeline_updates 1253
pageserver::tenant::timeline::walreceiver::connection_manager::subscribe_for_timeline_updates::{closure#0} 1253
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0} 1256
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::new 1257
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step 1257
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::change_connection::{closure#0}::{closure#0}::{closure#0}::{closure#1} 1434
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::next_connection_candidate::{closure#1} 1478
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::change_connection::{closure#0}::{closure#0} 1751
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::change_connection::{closure#0}::{closure#0}::{closure#0} 1751
<pageserver::tenant::timeline::walreceiver::connection_manager::NewWalConnectionCandidate as core::fmt::Debug>::fmt 1751
<pageserver::tenant::timeline::walreceiver::connection_manager::ReconnectReason>::name 1751
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#14} 1751
<pageserver::tenant::timeline::walreceiver::connection_manager::ReconnectReason as core::fmt::Debug>::fmt 1759
::eq 8
::fmt 1751
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerStatus as core::fmt::Debug>::fmt 1920
::fmt 0
::clone 1920
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerStatus>::to_human_readable_string 1920
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::change_connection 3502
::change_connection 1751
::change_connection::{closure#0} 1751
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::next_connection_candidate::{closure#0} 4850
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::drop_old_connection 6319
::drop_old_connection 3159
::drop_old_connection::{closure#0} 3160
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::register_timeline_update 8761
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates::{closure#1}::{closure#0} 228036
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::time_until_next_retry::{closure#0} 228056
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::time_until_next_retry::{closure#1} 228056
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::select_connection_candidate::{closure#1} 390693
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#4} 687339
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#5} 691540
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::manager_status::{closure#0} 693754
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::manager_status 694685
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates 694703
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::cleanup_old_candidates 694703
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::next_connection_candidate 694703
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::select_connection_candidate 694703
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#3} 695758
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::time_until_next_retry 695921
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::select_connection_candidate::{closure#0} 1082727
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates::{closure#2} 1082731
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates::{closure#1} 1084645
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates::{closure#0} 1084669
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::cleanup_old_candidates::{closure#0} 1084680
<pageserver::tenant::timeline::walreceiver::connection_manager::BrokerSkTimeline as core::fmt::Debug>::fmt 1086707
::fmt 0
::clone 1086707
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#6} 1372447

Generated by: LCOV version 2.1-beta