LCOV - code coverage report
Current view: top level - pageserver/src/tenant/timeline/walreceiver - connection_manager.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 59.0 % 1172 691
Test Date: 2024-10-22 22:13:45 Functions: 62.7 % 75 47

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::change_connection 0
::change_connection 0
::change_connection::{closure#0} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::change_connection::{closure#0}::{closure#0} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::change_connection::{closure#0}::{closure#0}::{closure#0} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::drop_old_connection 0
::drop_old_connection 0
::drop_old_connection::{closure#0} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::manager_status 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::manager_status::{closure#0} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::new 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::register_timeline_update 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::shutdown 0
::shutdown 0
::shutdown::{closure#0} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::time_until_next_retry 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::time_until_next_retry::{closure#0} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::time_until_next_retry::{closure#1} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerStatus>::to_human_readable_string 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ReconnectReason>::name 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#4} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#5} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#6} 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#7}::{closure#0} 0
pageserver::tenant::timeline::walreceiver::connection_manager::connection_manager_loop_step::{closure#0}::{closure#7}::{closure#1} 0
pageserver::tenant::timeline::walreceiver::connection_manager::subscribe_for_timeline_updates 0
pageserver::tenant::timeline::walreceiver::connection_manager::subscribe_for_timeline_updates::{closure#0} 0
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates::{closure#1}::{closure#0} 2
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::next_connection_candidate::{closure#0} 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::{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::ConnectionManagerState>::next_connection_candidate::{closure#1} 4
pageserver::tenant::timeline::walreceiver::connection_manager::tests::candidate_with_many_connection_failures 4
pageserver::tenant::timeline::walreceiver::connection_manager::tests::candidate_with_many_connection_failures 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::candidate_with_many_connection_failures::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate 4
pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::lsn_wal_over_threshold_current_candidate 4
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} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_candidate 4
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_candidate 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_candidate::{closure#0} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_no_candidate 4
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} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::switch_to_same_availability_zone 4
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} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_connection_threshold_current_candidate 4
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} 2
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_wal_over_threshold_current_candidate 4
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} 2
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::ConnectionManagerState>::spawn::<pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate::{closure#0}::{closure#0}::{closure#0}, pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate::{closure#0}::{closure#0}> 10
::spawn::::change_connection::{closure#0}::{closure#0}::{closure#0}>, ::change_connection::{closure#0}::{closure#0}> 0
::spawn:: 2
::spawn:: 2
::spawn:: 2
::spawn:: 2
::spawn:: 2
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates 18
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::cleanup_old_candidates 18
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::next_connection_candidate 18
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::select_connection_candidate 18
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::select_connection_candidate::{closure#1} 20
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::select_connection_candidate::{closure#0} 26
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates::{closure#2} 30
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates::{closure#1} 32
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::ConnectionManagerState>::applicable_connection_candidates::{closure#0} 36
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::cleanup_old_candidates::{closure#0} 38
pageserver::tenant::timeline::walreceiver::connection_manager::tests::dummy_broker_sk_timeline 38

Generated by: LCOV version 2.1-beta