LCOV - code coverage report
Current view: top level - control_plane/attachment_service/src - scheduler.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 57.9 % 209 121
Test Date: 2024-02-29 11:57:12 Functions: 44.4 % 36 16

Function Name Sort by function name Hit count Sort by function hit count
<attachment_service::scheduler::ScheduleError as core::fmt::Debug>::fmt 0
::fmt 0
::fmt 0
<attachment_service::scheduler::Scheduler as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec<u8>>> 0
<attachment_service::scheduler::Scheduler>::consistency_check::<std::collections::hash::map::Values<utils::id::NodeId, attachment_service::node::Node>, alloc::collections::btree::map::Values<pageserver_api::shard::TenantShardId, attachment_service::tenant_state::TenantState>> 0
<attachment_service::scheduler::Scheduler>::consistency_check::<std::collections::hash::map::Values<utils::id::NodeId, attachment_service::node::Node>, alloc::collections::btree::map::Values<pageserver_api::shard::TenantShardId, attachment_service::tenant_state::TenantState>>::{closure#0} 0
<attachment_service::scheduler::Scheduler>::consistency_check::<std::collections::hash::map::Values<utils::id::NodeId, attachment_service::node::Node>, alloc::collections::btree::map::Values<pageserver_api::shard::TenantShardId, attachment_service::tenant_state::TenantState>>::{closure#1} 0
<attachment_service::scheduler::Scheduler>::consistency_check::<std::collections::hash::map::Values<utils::id::NodeId, attachment_service::node::Node>, alloc::collections::btree::map::Values<pageserver_api::shard::TenantShardId, attachment_service::tenant_state::TenantState>>::{closure#2} 0
<attachment_service::scheduler::Scheduler>::node_dec_ref::{closure#0} 0
<attachment_service::scheduler::Scheduler>::node_inc_ref::{closure#0} 0
<attachment_service::scheduler::Scheduler>::node_remove 0
<attachment_service::scheduler::Scheduler>::node_remove::{closure#0} 0
<attachment_service::scheduler::Scheduler>::schedule_shard::{closure#2} 0
<attachment_service::scheduler::Scheduler>::schedule_shard::{closure#3} 0
<attachment_service::scheduler::Scheduler>::schedule_shard::{closure#4} 0
<attachment_service::scheduler::Scheduler>::schedule_shard::{closure#5} 0
::schedule_shard::{closure#5} 0
::schedule_shard::{closure#6} 0
<attachment_service::scheduler::SchedulerNode as core::cmp::PartialEq>::eq 0
::eq 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
<utils::http::error::ApiError as core::convert::From<attachment_service::scheduler::ScheduleError>>::from 0
<attachment_service::scheduler::Scheduler>::node_preferred::{closure#2} 2
<attachment_service::scheduler::Scheduler>::node_upsert 2
attachment_service::scheduler::tests::scheduler_basic 2
<attachment_service::scheduler::Scheduler>::new::<_> 4
::new::<_> 0
::new::> 4
<attachment_service::scheduler::Scheduler>::node_preferred 4
<attachment_service::scheduler::Scheduler>::node_preferred::{closure#0} 4
<attachment_service::scheduler::Scheduler>::node_preferred::{closure#0}::{closure#0} 4
<attachment_service::scheduler::Scheduler>::node_preferred::{closure#1} 4
attachment_service::scheduler::test_utils::make_test_nodes 4
attachment_service::scheduler::tests::scheduler_basic::{closure#0} 4
<attachment_service::scheduler::Scheduler>::node_dec_ref 8
<attachment_service::scheduler::Scheduler>::node_inc_ref 10
<attachment_service::scheduler::Scheduler>::schedule_shard 10
attachment_service::scheduler::test_utils::make_test_nodes::{closure#0} 10
<attachment_service::scheduler::Scheduler>::schedule_shard::{closure#1} 22
<attachment_service::scheduler::Scheduler>::schedule_shard::{closure#0} 24

Generated by: LCOV version 2.1-beta