LCOV - code coverage report
Current view: top level - control_plane/attachment_service/src - tenant_state.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 47.3 % 387 183
Test Date: 2024-02-29 11:57:12 Functions: 28.6 % 63 18

Function Name Sort by function name Hit count Sort by function hit count
<attachment_service::tenant_state::IntentState>::get_attached 0
<attachment_service::tenant_state::IntentState>::get_secondary 0
<attachment_service::tenant_state::IntentState>::remove_secondary 0
<attachment_service::tenant_state::IntentState>::remove_secondary::{closure#0} 0
<attachment_service::tenant_state::IntentState>::single 0
<attachment_service::tenant_state::ObservedState>::new 0
<attachment_service::tenant_state::ObservedStateLocation as core::clone::Clone>::clone 0
::clone 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
<attachment_service::tenant_state::ReconcileWaitError as core::fmt::Debug>::fmt 0
::fmt 0
::fmt 0
<attachment_service::tenant_state::ReconcilerWaiter>::wait_timeout 0
::wait_timeout 0
::wait_timeout::{closure#0} 0
<attachment_service::tenant_state::ReconcilerWaiter>::wait_timeout::{closure#0}::{closure#0} 0
<attachment_service::tenant_state::ReconcilerWaiter>::wait_timeout::{closure#0}::{closure#1} 0
<attachment_service::tenant_state::ReconcilerWaiter>::wait_timeout::{closure#0}::{closure#2} 0
<attachment_service::tenant_state::TenantState as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec<u8>>> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::, serde_json::ser::CompactFormatter>> 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
<attachment_service::tenant_state::TenantState>::deref_node 0
<attachment_service::tenant_state::TenantState>::deref_node::{closure#0} 0
<attachment_service::tenant_state::TenantState>::dirty 0
<attachment_service::tenant_state::TenantState>::intent_from_observed 0
<attachment_service::tenant_state::TenantState>::intent_from_observed::{closure#0} 0
<attachment_service::tenant_state::TenantState>::intent_from_observed::{closure#1} 0
<attachment_service::tenant_state::TenantState>::intent_from_observed::{closure#2} 0
<attachment_service::tenant_state::TenantState>::maybe_reconcile 0
<attachment_service::tenant_state::TenantState>::maybe_reconcile::{closure#0} 0
<attachment_service::tenant_state::TenantState>::maybe_reconcile::{closure#0}::{closure#0} 0
<attachment_service::tenant_state::TenantState>::maybe_reconcile::{closure#1} 0
<attachment_service::tenant_state::TenantState>::maybe_reconcile::{closure#2} 0
<attachment_service::tenant_state::TenantState>::maybe_reconcile::{closure#3} 0
<attachment_service::tenant_state::TenantState>::schedule_attached::{closure#0} 0
<attachment_service::tenant_state::TenantState>::schedule_attached::{closure#1} 0
<attachment_service::tenant_state::TenantState>::stably_attached 0
<attachment_service::tenant_state::TenantState>::to_persistent 0
<attachment_service::tenant_state::TenantState>::to_persistent::{closure#0} 0
attachment_service::tenant_state::read_mutex_content::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec<u8>>, alloc::string::String> 0
attachment_service::tenant_state::read_mutex_content::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>, alloc::string::String> 0
attachment_service::tenant_state::read_mutex_content::, serde_json::ser::CompactFormatter>, alloc::string::String> 0
<attachment_service::tenant_state::IntentState as core::fmt::Debug>::fmt 2
::clone 0
::fmt 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
::serialize::, serde_json::ser::CompactFormatter>> 0
::default 2
<attachment_service::tenant_state::IntentState>::all_pageservers 2
<attachment_service::tenant_state::IntentState>::notify_offline 2
<attachment_service::tenant_state::IntentState>::promote_attached 2
<attachment_service::tenant_state::ObservedState as core::clone::Clone>::clone 2
::clone 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
::serialize::, serde_json::ser::CompactFormatter>> 0
::default 2
<attachment_service::tenant_state::TenantState>::new 2
attachment_service::tenant_state::tests::make_test_tenant_shard 2
attachment_service::tenant_state::tests::tenant_ha_scheduling 2
attachment_service::tenant_state::tests::tenant_ha_scheduling::{closure#0} 2
<attachment_service::tenant_state::IntentState>::clear 4
<attachment_service::tenant_state::IntentState>::clear_secondary 4
<attachment_service::tenant_state::IntentState>::new 4
<attachment_service::tenant_state::IntentState>::promote_attached::{closure#0} 4
<attachment_service::tenant_state::IntentState>::push_secondary 4
<attachment_service::tenant_state::TenantState>::schedule 4
<attachment_service::tenant_state::TenantState>::schedule_attached 4
<attachment_service::tenant_state::IntentState as core::ops::drop::Drop>::drop 6
<attachment_service::tenant_state::IntentState>::set_attached 6

Generated by: LCOV version 2.1-beta