LCOV - code coverage report
Current view: top level - safekeeper/src - send_wal.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 27.2 % 471 128
Test Date: 2024-02-29 11:57:12 Functions: 10.6 % 161 17

Function Name Sort by function name Hit count Sort by function hit count
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_replication::<_> 0
::handle_start_replication::<_> 0
::handle_start_replication::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>> 0
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_replication::<_>::{closure#0} 0
::handle_start_replication::<_>::{closure#0} 0
::handle_start_replication::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>::{closure#0} 0
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_replication_guts::<_> 0
::handle_start_replication_guts::<_> 0
::handle_start_replication_guts::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>> 0
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_replication_guts::<_>::{closure#0} 0
::handle_start_replication_guts::<_>::{closure#0} 0
::handle_start_replication_guts::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>::{closure#0} 0
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_replication_guts::<_>::{closure#0}::{closure#0} 0
::handle_start_replication_guts::<_>::{closure#0}::{closure#0} 0
::handle_start_replication_guts::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>::{closure#0}::{closure#0} 0
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_replication_guts::<_>::{closure#0}::{closure#1} 0
::handle_start_replication_guts::<_>::{closure#0}::{closure#1} 0
::handle_start_replication_guts::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>::{closure#0}::{closure#1} 0
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_replication_guts::<_>::{closure#0}::{closure#2} 0
::handle_start_replication_guts::<_>::{closure#0}::{closure#2} 0
::handle_start_replication_guts::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>::{closure#0}::{closure#2} 0
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_replication_guts::<_>::{closure#0}::{closure#3} 0
::handle_start_replication_guts::<_>::{closure#0}::{closure#3} 0
::handle_start_replication_guts::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>::{closure#0}::{closure#3} 0
<safekeeper::send_wal::EndWatch>::changed 0
::changed 0
::changed::{closure#0} 0
<safekeeper::send_wal::EndWatch>::get 0
<safekeeper::send_wal::HotStandbyFeedback as core::fmt::Debug>::fmt 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
::clone 0
::fmt 0
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 0
::deserialize::<&mut serde_json::de::Deserializer> 0
::deserialize::> 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
::serialize::<&mut serde_json::ser::Serializer<&mut utils::http::endpoint::ChannelWriter>> 0
::serialize::, serde_json::ser::CompactFormatter>> 0
::serialize::> 0
<safekeeper::send_wal::ReplicationFeedback as core::fmt::Debug>::fmt 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::> 0
::clone 0
::fmt 0
::deserialize::<&mut serde_json::de::Deserializer> 0
::deserialize::> 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
::serialize::<&mut serde_json::ser::Serializer<&mut utils::http::endpoint::ChannelWriter>> 0
::serialize::, serde_json::ser::CompactFormatter>> 0
::serialize::> 0
<safekeeper::send_wal::ReplyReader<_>>::handle_feedback 0
>::handle_feedback 0
>::handle_feedback::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::handle_feedback 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::handle_feedback::{closure#0} 0
<safekeeper::send_wal::ReplyReader<_>>::handle_feedback::{closure#0}::{closure#0} 0
>::handle_feedback::{closure#0}::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::handle_feedback::{closure#0}::{closure#0} 0
<safekeeper::send_wal::ReplyReader<_>>::handle_feedback::{closure#0}::{closure#1} 0
>::handle_feedback::{closure#0}::{closure#1} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::handle_feedback::{closure#0}::{closure#1} 0
<safekeeper::send_wal::ReplyReader<_>>::run 0
>::run 0
>::run::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run::{closure#0} 0
<safekeeper::send_wal::StandbyFeedback as core::fmt::Debug>::fmt 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
::clone 0
::fmt 0
::deserialize::<&mut serde_json::de::Deserializer> 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
::serialize::<&mut serde_json::ser::Serializer<&mut utils::http::endpoint::ChannelWriter>> 0
<safekeeper::send_wal::StandbyReply as core::fmt::Debug>::fmt 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
::clone 0
::fmt 0
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 0
::deserialize::<&mut serde_json::de::Deserializer> 0
::deserialize::> 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
::serialize::<&mut serde_json::ser::Serializer<&mut utils::http::endpoint::ChannelWriter>> 0
::serialize::, serde_json::ser::CompactFormatter>> 0
::serialize::> 0
<safekeeper::send_wal::WalSender<_>>::run 0
>::run 0
>::run::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run::{closure#0} 0
<safekeeper::send_wal::WalSender<_>>::run::{closure#0}::{closure#0}::{closure#0} 0
>::run::{closure#0}::{closure#0}::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run::{closure#0}::{closure#0}::{closure#0} 0
<safekeeper::send_wal::WalSender<_>>::run::{closure#0}::{closure#1} 0
>::run::{closure#0}::{closure#1} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run::{closure#0}::{closure#1} 0
<safekeeper::send_wal::WalSender<_>>::wait_wal 0
>::wait_wal 0
>::wait_wal::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::wait_wal 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::wait_wal::{closure#0} 0
<safekeeper::send_wal::WalSender<_>>::wait_wal::{closure#0}::{closure#0} 0
>::wait_wal::{closure#0}::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::wait_wal::{closure#0}::{closure#0} 0
<safekeeper::send_wal::WalSender<_>>::wait_wal::{closure#0}::{closure#1} 0
>::wait_wal::{closure#0}::{closure#1} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::wait_wal::{closure#0}::{closure#1} 0
<safekeeper::send_wal::WalSenderGuard as core::ops::drop::Drop>::drop 0
<safekeeper::send_wal::WalSenderState as core::fmt::Debug>::fmt 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
::clone 0
::fmt 0
::deserialize::<&mut serde_json::de::Deserializer> 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
::serialize::<&mut serde_json::ser::Serializer<&mut utils::http::endpoint::ChannelWriter>> 0
<safekeeper::send_wal::WalSenders>::get_all 0
<safekeeper::send_wal::WalSenders>::get_feedbacks 0
<safekeeper::send_wal::WalSenders>::get_ps_feedback 0
<safekeeper::send_wal::WalSenders>::get_ws_remote_consistent_lsn 0
<safekeeper::send_wal::WalSenders>::laggard_lsn 0
<safekeeper::send_wal::WalSenders>::laggard_lsn::{closure#0} 0
<safekeeper::send_wal::WalSenders>::new 0
<safekeeper::send_wal::WalSenders>::record_hs_feedback 0
<safekeeper::send_wal::WalSenders>::record_ps_feedback 0
<safekeeper::send_wal::WalSenders>::record_standby_reply 0
<safekeeper::send_wal::WalSenders>::register 0
<safekeeper::send_wal::WalSenders>::register::{closure#0} 0
<safekeeper::send_wal::WalSenders>::unregister 0
<safekeeper::send_wal::WalSendersShared>::get_slot 0
<safekeeper::send_wal::WalSendersShared>::get_slot_mut 0
safekeeper::send_wal::wait_for_lsn 0
safekeeper::send_wal::wait_for_lsn::{closure#0} 0
safekeeper::send_wal::wait_for_lsn::{closure#0}::{closure#0} 0
<safekeeper::send_wal::WalSendersShared>::update_ps_feedback 2
safekeeper::send_wal::tests::test_hs_feedback 2
safekeeper::send_wal::tests::test_hs_feedback::{closure#0} 2
safekeeper::send_wal::tests::test_hs_feedback_no_valid 2
safekeeper::send_wal::tests::test_hs_feedback_no_valid::{closure#0} 2
safekeeper::send_wal::tests::test_ps_feedback 2
safekeeper::send_wal::tests::test_ps_feedback::{closure#0} 2
<safekeeper::send_wal::WalSendersShared>::update_hs_feedback 4
<safekeeper::send_wal::WalSendersShared>::update_ps_feedback::{closure#0} 4
safekeeper::send_wal::tests::ps_feedback 4
<safekeeper::send_wal::WalSendersShared>::new 6
<safekeeper::send_wal::StandbyReply>::empty 8
safekeeper::send_wal::tests::hs_feedback 8
safekeeper::send_wal::tests::mock_addr 12
safekeeper::send_wal::tests::mock_ttid 12
safekeeper::send_wal::tests::push_feedback 12
<safekeeper::send_wal::HotStandbyFeedback>::empty 17842

Generated by: LCOV version 2.1-beta