LCOV - code coverage report
Current view:
top level
-
pageserver/src/tenant/timeline/walreceiver
- connection_manager.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
fc67f8dc6087a0b4f4f0bcd74f6e1dc25fab8cf3.info
Lines:
59.0 %
1172
691
Test Date:
2024-09-24 13:57:57
Functions:
62.7 %
75
47
Function Name
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}
6
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::next_connection_candidate::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate::{closure#0}::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate::{closure#0}::{closure#0}::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::lsn_wal_over_threshold_current_candidate::{closure#0}::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::lsn_wal_over_threshold_current_candidate::{closure#0}::{closure#0}::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::switch_to_same_availability_zone::{closure#0}::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::switch_to_same_availability_zone::{closure#0}::{closure#0}::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_connection_threshold_current_candidate::{closure#0}::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_connection_threshold_current_candidate::{closure#0}::{closure#0}::{closure#0}
6
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::next_connection_candidate::{closure#1}
12
pageserver::tenant::timeline::walreceiver::connection_manager::tests::candidate_with_many_connection_failures
12
pageserver::tenant::timeline::walreceiver::connection_manager::tests::candidate_with_many_connection_failures
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::candidate_with_many_connection_failures::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate
12
pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::connection_no_candidate::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::lsn_wal_over_threshold_current_candidate
12
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::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_candidate
12
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_candidate
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_candidate::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_no_candidate
12
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_no_candidate
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::no_connection_no_candidate::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::switch_to_same_availability_zone
12
pageserver::tenant::timeline::walreceiver::connection_manager::tests::switch_to_same_availability_zone
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::switch_to_same_availability_zone::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_connection_threshold_current_candidate
12
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::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_wal_over_threshold_current_candidate
12
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::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_wal_over_threshold_current_candidate::{closure#0}::{closure#0}
12
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_wal_over_threshold_current_candidate::{closure#0}::{closure#0}
6
pageserver::tenant::timeline::walreceiver::connection_manager::tests::timeout_wal_over_threshold_current_candidate::{closure#0}::{closure#0}::{closure#0}
6
<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}>
30
::spawn::
::change_connection::{closure#0}::{closure#0}::{closure#0}>,
::change_connection::{closure#0}::{closure#0}>
0
::spawn::
6
::spawn::
6
::spawn::
6
::spawn::
6
::spawn::
6
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates
54
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::cleanup_old_candidates
54
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::next_connection_candidate
54
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::select_connection_candidate
54
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::select_connection_candidate::{closure#1}
60
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::select_connection_candidate::{closure#0}
78
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates::{closure#2}
90
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates::{closure#1}
96
pageserver::tenant::timeline::walreceiver::connection_manager::tests::dummy_state
96
pageserver::tenant::timeline::walreceiver::connection_manager::tests::dummy_state
48
pageserver::tenant::timeline::walreceiver::connection_manager::tests::dummy_state::{closure#0}
48
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::applicable_connection_candidates::{closure#0}
108
<pageserver::tenant::timeline::walreceiver::connection_manager::ConnectionManagerState>::cleanup_old_candidates::{closure#0}
114
pageserver::tenant::timeline::walreceiver::connection_manager::tests::dummy_broker_sk_timeline
114
Generated by:
LCOV version 2.1-beta