LCOV - code coverage report
Current view:
top level
-
pageserver/src
- deletion_queue.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
49aa928ec5b4b510172d8b5c6d154da28e70a46c.info
Lines:
87.3 %
826
721
Test Date:
2024-11-13 18:23:39
Functions:
56.8 %
132
75
Function Name
Hit count
<<pageserver::deletion_queue::DeletionHeader as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
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_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_map::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>
0
<<pageserver::deletion_queue::DeletionList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
54
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
16
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
8
<
::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_str::
24
<
::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_map::
>
4
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
2
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>
0
<<pageserver::deletion_queue::TenantDeletionList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
30
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
8
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
4
<
::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_str::
12
<
::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_map::
>
4
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
2
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>
0
<pageserver::deletion_queue::DeletionHeader>::new
8
<pageserver::deletion_queue::DeletionHeader>::save
16
::save
8
::save::{closure#0}
8
<pageserver::deletion_queue::DeletionList as core::fmt::Display>::fmt
0
<pageserver::deletion_queue::DeletionList>::into_remote_paths
10
<pageserver::deletion_queue::DeletionList>::into_remote_paths::{closure#0}
6
<pageserver::deletion_queue::DeletionList>::is_empty
27
<pageserver::deletion_queue::DeletionList>::len
60
<pageserver::deletion_queue::DeletionList>::new
20
<pageserver::deletion_queue::DeletionList>::push
14
<pageserver::deletion_queue::DeletionList>::push::{closure#0}
12
<pageserver::deletion_queue::DeletionList>::push::{closure#1}
12
<pageserver::deletion_queue::DeletionList>::save
28
::save
14
::save::{closure#0}
14
<pageserver::deletion_queue::DeletionQueue>::new::<_>
8
::new::<_>
0
::new::
0
::new::
8
<pageserver::deletion_queue::DeletionQueue>::new_client
8
<pageserver::deletion_queue::DeletionQueue>::shutdown
0
::shutdown
0
::shutdown::{closure#0}
0
<pageserver::deletion_queue::DeletionQueueClient>::do_flush::<pageserver::deletion_queue::list_writer::ListWriterQueueMessage>
24
<pageserver::deletion_queue::DeletionQueueClient>::do_flush::<pageserver::deletion_queue::list_writer::ListWriterQueueMessage>::{closure#0}
24
<pageserver::deletion_queue::DeletionQueueClient>::do_push::<pageserver::deletion_queue::list_writer::ListWriterQueueMessage>
329
<pageserver::deletion_queue::DeletionQueueClient>::flush
28
::flush
14
::flush::{closure#0}
14
<pageserver::deletion_queue::DeletionQueueClient>::flush_advisory
0
<pageserver::deletion_queue::DeletionQueueClient>::flush_execute
20
::flush_execute
10
::flush_execute::{closure#0}
10
<pageserver::deletion_queue::DeletionQueueClient>::flush_immediate
20
::flush_immediate
10
::flush_immediate::{closure#0}
10
<pageserver::deletion_queue::DeletionQueueClient>::flush_immediate::{closure#0}::{closure#0}
0
<pageserver::deletion_queue::DeletionQueueClient>::flush_immediate::{closure#0}::{closure#1}
0
<pageserver::deletion_queue::DeletionQueueClient>::push_immediate
0
<pageserver::deletion_queue::DeletionQueueClient>::push_immediate::{closure#0}
0
<pageserver::deletion_queue::DeletionQueueClient>::push_immediate::{closure#0}::{closure#0}
0
<pageserver::deletion_queue::DeletionQueueClient>::push_layers
297
<pageserver::deletion_queue::DeletionQueueClient>::push_layers::{closure#0}
297
<pageserver::deletion_queue::DeletionQueueClient>::push_layers_sync
297
<pageserver::deletion_queue::DeletionQueueClient>::recover
8
<pageserver::deletion_queue::DeletionQueueClient>::update_remote_consistent_lsn
1398
<pageserver::deletion_queue::DeletionQueueClient>::update_remote_consistent_lsn::{closure#0}
1398
<pageserver::deletion_queue::DeletionQueueError as core::fmt::Display>::fmt
0
<pageserver::deletion_queue::DeletionQueueWorkers<_>>::spawn_with
8
>::spawn_with
0
>::spawn_with
0
>::spawn_with
8
<pageserver::deletion_queue::DeletionQueueWorkers<_>>::spawn_with::{closure#0}
8
>::spawn_with::{closure#0}
0
>::spawn_with::{closure#0}
0
>::spawn_with::{closure#0}
8
<pageserver::deletion_queue::DeletionQueueWorkers<_>>::spawn_with::{closure#1}
8
>::spawn_with::{closure#1}
0
>::spawn_with::{closure#1}
0
>::spawn_with::{closure#1}
8
<pageserver::deletion_queue::DeletionQueueWorkers<_>>::spawn_with::{closure#2}
8
>::spawn_with::{closure#2}
0
>::spawn_with::{closure#2}
0
>::spawn_with::{closure#2}
8
<pageserver::deletion_queue::DeletionQueueWorkers<_>>::spawn_with::{closure#3}
8
>::spawn_with::{closure#3}
0
>::spawn_with::{closure#3}
0
>::spawn_with::{closure#3}
8
<pageserver::deletion_queue::FlushOp>::new
42
<pageserver::deletion_queue::FlushOp>::notify
42
<pageserver::deletion_queue::TenantDeletionList>::len
10
<pageserver::deletion_queue::TenantDeletionList>::len::{closure#0}
10
<pageserver::deletion_queue::VisibleLsnUpdates as core::fmt::Debug>::fmt
0
<pageserver::deletion_queue::VisibleLsnUpdates>::new
198
<pageserver::deletion_queue::mock::ConsumerState>::consume
4
::consume
2
::consume::{closure#0}
2
<pageserver::deletion_queue::mock::MockDeletionQueue>::new
190
<pageserver::deletion_queue::mock::MockDeletionQueue>::new_client
200
<pageserver::deletion_queue::mock::MockDeletionQueue>::pump
4
::pump
2
::pump::{closure#0}
2
<pageserver::deletion_queue::test::MockControlPlane as pageserver::controller_upcall_client::ControlPlaneGenerationsApi>::re_attach
0
<pageserver::deletion_queue::test::MockControlPlane as pageserver::controller_upcall_client::ControlPlaneGenerationsApi>::re_attach::{closure#0}
0
<pageserver::deletion_queue::test::MockControlPlane as pageserver::controller_upcall_client::ControlPlaneGenerationsApi>::validate
8
<pageserver::deletion_queue::test::MockControlPlane as pageserver::controller_upcall_client::ControlPlaneGenerationsApi>::validate::{closure#0}
8
<pageserver::deletion_queue::test::MockControlPlane>::new
6
<pageserver::deletion_queue::test::TestSetup>::restart
4
::restart
2
::restart::{closure#0}
2
<pageserver::deletion_queue::test::TestSetup>::set_latest_generation
6
<pageserver::deletion_queue::test::TestSetup>::write_remote_layer
6
pageserver::deletion_queue::mock::deletion_list_serialization
2
pageserver::deletion_queue::test::assert_local_files
10
pageserver::deletion_queue::test::assert_remote_files
18
pageserver::deletion_queue::test::assert_remote_files::{closure#0}
16
pageserver::deletion_queue::test::deletion_queue_recovery
4
pageserver::deletion_queue::test::deletion_queue_recovery
2
pageserver::deletion_queue::test::deletion_queue_recovery::{closure#0}
2
pageserver::deletion_queue::test::deletion_queue_smoke
4
pageserver::deletion_queue::test::deletion_queue_smoke
2
pageserver::deletion_queue::test::deletion_queue_smoke::{closure#0}
2
pageserver::deletion_queue::test::deletion_queue_validation
4
pageserver::deletion_queue::test::deletion_queue_validation
2
pageserver::deletion_queue::test::deletion_queue_validation::{closure#0}
2
pageserver::deletion_queue::test::setup
12
pageserver::deletion_queue::test::setup
6
pageserver::deletion_queue::test::setup::{closure#0}
6
Generated by:
LCOV version 2.1-beta