LCOV - code coverage report
Current view:
top level
-
pageserver/src/tenant/storage_layer
- delta_layer.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
7eb96e224e685167ad85f58f858387d8cf253f63.info
Lines:
85.9 %
1613
1386
Test Date:
2024-09-23 21:23:07
Functions:
71.8 %
163
117
Function Name
Hit count
<<pageserver::tenant::storage_layer::delta_layer::BlobRef as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
0
<pageserver::tenant::storage_layer::delta_layer::DeltaEntry as pageserver_compaction::interface::CompactionDeltaEntry<pageserver_api::key::Key>>::key
0
<pageserver::tenant::storage_layer::delta_layer::DeltaEntry as pageserver_compaction::interface::CompactionDeltaEntry<pageserver_api::key::Key>>::lsn
0
<pageserver::tenant::storage_layer::delta_layer::DeltaEntry as pageserver_compaction::interface::CompactionDeltaEntry<pageserver_api::key::Key>>::size
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer as core::fmt::Debug>::fmt
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer as core::fmt::Display>::fmt
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::dump
0
::dump
0
::dump::{closure#0}
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::load
0
::load
0
::load::{closure#0}
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::load::{closure#0}::{closure#0}
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::load::{closure#0}::{closure#1}
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::load_inner
0
::load_inner
0
::load_inner::{closure#0}
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::new_for_path
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::path
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::rewrite_summary::<_>
0
::rewrite_summary::<_>
0
::rewrite_summary::
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::rewrite_summary::<_>::{closure#0}
0
::rewrite_summary::<_>::{closure#0}
0
::rewrite_summary::
::{closure#0}
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::rewrite_summary::<_>::{closure#0}::{closure#0}
0
::rewrite_summary::<_>::{closure#0}::{closure#0}
0
::rewrite_summary::
::{closure#0}::{closure#0}
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner as core::fmt::Debug>::fmt
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::{closure#4}
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::{closure#5}
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::layer_dbg_info
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerIterator>::layer_dbg_info
0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value_bytes::<alloc::vec::Vec<u8>>::{closure#0}::{closure#0}
0
::put_value_bytes::
>::{closure#0}::{closure#0}
0
::put_value_bytes::
::{closure#0}::{closure#0}
0
<pageserver::tenant::storage_layer::delta_layer::RewriteSummaryError as core::convert::From<std::io::error::Error>>::from
0
<pageserver::tenant::storage_layer::delta_layer::RewriteSummaryError as core::fmt::Display>::fmt
0
>::from
0
::source
0
::fmt
0
<pageserver::tenant::storage_layer::delta_layer::Summary as core::convert::From<&pageserver::tenant::storage_layer::delta_layer::DeltaLayer>>::from
0
<pageserver::tenant::storage_layer::delta_layer::ValueRef>::load
0
::load
0
::load::{closure#0}
0
pageserver::tenant::storage_layer::delta_layer::test::generate_entries
6
pageserver::tenant::storage_layer::delta_layer::test::get_entries_meta
6
pageserver::tenant::storage_layer::delta_layer::test::validate
6
pageserver::tenant::storage_layer::delta_layer::test::copy_delta_prefix_smoke::{closure#0}::{closure#1}
11
pageserver::tenant::storage_layer::delta_layer::test::copy_delta_prefix_smoke
12
pageserver::tenant::storage_layer::delta_layer::test::copy_delta_prefix_smoke
6
pageserver::tenant::storage_layer::delta_layer::test::copy_delta_prefix_smoke::{closure#0}
6
pageserver::tenant::storage_layer::delta_layer::test::delta_layer_iterator
12
pageserver::tenant::storage_layer::delta_layer::test::delta_layer_iterator
6
pageserver::tenant::storage_layer::delta_layer::test::delta_layer_iterator::{closure#0}
6
pageserver::tenant::storage_layer::delta_layer::test::test_delta_layer_index_traversal
12
pageserver::tenant::storage_layer::delta_layer::test::test_delta_layer_index_traversal
6
pageserver::tenant::storage_layer::delta_layer::test::test_delta_layer_index_traversal::{closure#0}
6
pageserver::tenant::storage_layer::delta_layer::test::test_delta_layer_vectored_read_end_to_end
12
pageserver::tenant::storage_layer::delta_layer::test::test_delta_layer_vectored_read_end_to_end
6
pageserver::tenant::storage_layer::delta_layer::test::test_delta_layer_vectored_read_end_to_end::{closure#0}
6
<pageserver::tenant::storage_layer::delta_layer::Adapter<&pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>>::read_blk
24
<pageserver::tenant::storage_layer::delta_layer::Adapter<&pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>>::read_blk::{closure#0}
24
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::dump
24
::dump
12
::dump::{closure#0}
12
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix
30
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}
30
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::{closure#1}
30
pageserver::tenant::storage_layer::delta_layer::test::assert_keys_and_values_eq
30
pageserver::tenant::storage_layer::delta_layer::test::assert_keys_and_values_eq::{closure#0}
30
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner as core::convert::AsRef<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>>::as_ref
48
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::dump::{closure#0}::dump_blob
48
::dump::{closure#0}::dump_blob
24
::dump::{closure#0}::dump_blob::{closure#0}
24
<pageserver::tenant::storage_layer::delta_layer::ValueRef>::load_raw
48
::load_raw
24
::load_raw::{closure#0}
24
pageserver::tenant::storage_layer::delta_layer::test::produce_delta_layer
60
pageserver::tenant::storage_layer::delta_layer::test::produce_delta_layer::{closure#0}
60
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::{closure#3}
66
pageserver::tenant::storage_layer::delta_layer::test::assert_delta_iter_equal
84
pageserver::tenant::storage_layer::delta_layer::test::assert_delta_iter_equal::{closure#0}
84
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::stream_index_forwards::<pageserver::tenant::block_io::FileBlockReader>
90
::stream_index_forwards::
30
::stream_index_forwards::<&pageserver::tenant::block_io::FileBlockReader>
60
pageserver::tenant::storage_layer::delta_layer::test::validate::{closure#0}
126
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::{closure#0}
180
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::{closure#2}
180
pageserver::tenant::storage_layer::delta_layer::test::assert_keys_and_values_eq::{closure#0}::{closure#0}
180
<<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::Item>::is_last
210
<<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::Item>::offset
210
<core::option::Option<(pageserver_api::key::Key, utils::lsn::Lsn, pageserver::tenant::storage_layer::delta_layer::BlobRef)> as core::convert::From<<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::Item>>::from
210
pageserver::tenant::storage_layer::delta_layer::test::sort_delta_value
282
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::stream_index_forwards::<pageserver::tenant::block_io::FileBlockReader>::{closure#0}
456
::stream_index_forwards::
::{closure#0}
180
::stream_index_forwards::<&pageserver::tenant::block_io::FileBlockReader>::{closure#0}
276
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::get_min_read_buffer_size::{closure#1}
600
pageserver::tenant::storage_layer::delta_layer::test::pick_random_keyspace
600
pageserver::tenant::storage_layer::delta_layer::test::generate_entries::{closure#2}
720
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load_keys
1218
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load_keys::{closure#0}
1218
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::key_range
1422
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::lsn_range
1422
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::iter
1590
<<pageserver::tenant::storage_layer::delta_layer::Summary as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
3132
<
::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::trailing::AllowTrailing>, bincode::config::limit::Infinite>>>
3132
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load
3132
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load::{closure#0}
3132
<pageserver::tenant::storage_layer::delta_layer::Summary>::expected
3132
pageserver::tenant::storage_layer::delta_layer::test::get_entries_meta::{closure#0}
3336
pageserver::tenant::storage_layer::delta_layer::test::get_entries_meta::{closure#1}
3336
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::finish
4206
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::finish::{closure#0}
4206
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::finish
4206
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::finish0
4206
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::finish0::{closure#0}
4206
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::finish::{closure#0}
4206
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::temp_path_for
4242
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter as core::ops::drop::Drop>::drop
4242
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::new
4242
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::new::{closure#0}
4242
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::new
4242
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::new::{closure#0}
4242
pageserver::tenant::storage_layer::delta_layer::test::delta_layer_iterator::{closure#0}::get_key
6000
pageserver::tenant::storage_layer::delta_layer::test::delta_layer_iterator::{closure#0}::{closure#0}
6000
pageserver::tenant::storage_layer::delta_layer::test::generate_entries::{closure#0}
6780
pageserver::tenant::storage_layer::delta_layer::test::generate_entries::{closure#1}
10008
pageserver::tenant::storage_layer::delta_layer::test::produce_delta_layer::{closure#0}::{closure#0}
24120
pageserver::tenant::storage_layer::delta_layer::test::produce_delta_layer::{closure#0}::{closure#1}
24120
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::num_keys
36486
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::estimated_size
45252
pageserver::tenant::storage_layer::delta_layer::test::sort_delta
54078
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerIterator>::next_batch
127600
::next_batch
63800
::next_batch::{closure#0}
63800
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::get_min_read_buffer_size::{closure#0}
462657
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::do_reads_and_update_state
612696
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::do_reads_and_update_state::{closure#0}
612696
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::get_values_reconstruct_data
612696
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::get_values_reconstruct_data::{closure#0}
612696
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::get_min_read_buffer_size
613296
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::plan_reads::<pageserver::tenant::block_io::FileBlockReader>
613302
::plan_reads::
6
::plan_reads::
613296
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::plan_reads::<pageserver::tenant::block_io::FileBlockReader>::{closure#0}
613302
::plan_reads::
::{closure#0}
6
::plan_reads::
::{closure#0}
613296
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::index_start_offset
615630
pageserver::tenant::storage_layer::delta_layer::test::copy_delta_prefix_smoke::{closure#0}::{closure#0}
792576
<pageserver::tenant::storage_layer::delta_layer::BlobRef>::will_init
1531058
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::size
6071916
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::size
6071916
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load_keys::{closure#0}::{closure#0}
6192138
<pageserver::tenant::storage_layer::delta_layer::DeltaKey>::from_slice
6192594
<pageserver::tenant::storage_layer::delta_layer::DeltaKey>::key
6192594
<pageserver::tenant::storage_layer::delta_layer::DeltaKey>::lsn
6192594
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::put_value
6253074
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::put_value::{closure#0}
6253074
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value
6253074
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value::{closure#0}
6253074
<pageserver::tenant::storage_layer::delta_layer::DeltaKey>::extract_lsn_from_buf
8045539
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerIterator>::next
12595428
::next
6297714
::next::{closure#0}
6297714
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::put_value_bytes::<alloc::vec::Vec<u8>>
13159980
::put_value_bytes::
>
3432
::put_value_bytes::
13156548
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::put_value_bytes::<alloc::vec::Vec<u8>>::{closure#0}
13159980
::put_value_bytes::
>::{closure#0}
3432
::put_value_bytes::
::{closure#0}
13156548
<pageserver::tenant::storage_layer::delta_layer::BlobRef>::pos
14238313
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value_bytes::<alloc::vec::Vec<u8>>
19413054
::put_value_bytes::
>
6256506
::put_value_bytes::
13156548
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value_bytes::<alloc::vec::Vec<u8>>::{closure#0}
19413054
::put_value_bytes::
>::{closure#0}
6256506
::put_value_bytes::
::{closure#0}
13156548
<pageserver::tenant::storage_layer::delta_layer::BlobRef>::new
19413366
<pageserver::tenant::storage_layer::delta_layer::DeltaKey>::from_key_lsn
20153214
Generated by:
LCOV version 2.1-beta