LCOV - code coverage report
Current view: top level - pageserver/src/tenant - metadata.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 97.9 % 337 330
Test Date: 2024-02-29 11:57:12 Functions: 47.3 % 93 44

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::metadata::TimelineMetadata as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer<serde_json::read::SliceRead>>::{closure#0} 0
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>>::{closure#0} 0
::deserialize::<&mut serde_json::de::Deserializer>::{closure#0} 0
::deserialize::>::{closure#0} 0
<pageserver::tenant::metadata::TimelineMetadata as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec<u8>>>::{closure#0} 0
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>>::{closure#0} 0
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>>::{closure#0} 0
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>>::{closure#0} 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec, serde_json::ser::PrettyFormatter>>::{closure#0} 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>>::{closure#0} 0
::serialize::, serde_json::ser::CompactFormatter>>::{closure#0} 0
::serialize::, serde_json::ser::PrettyFormatter>>::{closure#0} 0
<pageserver::tenant::metadata::tests::test_metadata_upgrade::TimelineMetadataV1 as core::fmt::Debug>::fmt 0
::clone 0
::eq 0
::fmt 0
<pageserver::tenant::metadata::TimelineMetadata>::upgrade_timeline_metadata 2
<pageserver::tenant::metadata::tests::test_metadata_upgrade::TimelineMetadataV1>::to_bytes 2
pageserver::tenant::metadata::tests::metadata_serializes_correctly 2
pageserver::tenant::metadata::tests::metadata_serializes_correctly::{closure#0} 2
pageserver::tenant::metadata::tests::test_metadata_bincode_serde 2
pageserver::tenant::metadata::tests::test_metadata_bincode_serde::{closure#0} 2
pageserver::tenant::metadata::tests::test_metadata_bincode_serde_ensure_roundtrip 2
pageserver::tenant::metadata::tests::test_metadata_bincode_serde_ensure_roundtrip::{closure#0} 2
pageserver::tenant::metadata::tests::test_metadata_upgrade 2
pageserver::tenant::metadata::tests::test_metadata_upgrade::{closure#0} 2
<pageserver::tenant::metadata::TimelineMetadataBodyV1 as core::fmt::Debug>::fmt 8
<::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
::clone 0
::eq 0
::fmt 0
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 0
::serialize::<_> 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>>> 2
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 2
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 2
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 2
<pageserver::tenant::metadata::TimelineMetadata>::example 12
<pageserver::tenant::metadata::TimelineMetadata as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer<serde_json::read::SliceRead>> 34
::deserialize::> 0
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 4
::deserialize::<&mut serde_json::de::Deserializer> 30
<pageserver::tenant::metadata::TimelineMetadata>::from_bytes 62
<pageserver::tenant::metadata::TimelineMetadata>::ancestor_lsn 296
<pageserver::tenant::metadata::TimelineMetadata>::initdb_lsn 296
<pageserver::tenant::metadata::TimelineMetadata>::latest_gc_cutoff_lsn 296
<pageserver::tenant::metadata::TimelineMetadata>::pg_version 296
<pageserver::tenant::metadata::TimelineMetadata>::prev_record_lsn 296
<pageserver::tenant::metadata::TimelineMetadata>::ancestor_timeline 308
<pageserver::tenant::metadata::TimelineMetadata as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec<u8>>> 767
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec, serde_json::ser::PrettyFormatter>> 0
::serialize::, serde_json::ser::CompactFormatter>> 0
::serialize::, serde_json::ser::PrettyFormatter>> 0
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 4
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 4
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 759
<pageserver::tenant::metadata::TimelineMetadata>::to_bytes 785
<pageserver::tenant::metadata::TimelineMetadata>::new 836
<pageserver::tenant::metadata::TimelineMetadata>::disk_consistent_lsn 1100
<pageserver::tenant::metadata::TimelineMetadata as core::fmt::Debug>::fmt 1846
::fmt 0
::eq 26
::clone 1820
<pageserver::tenant::metadata::TimelineMetadataBodyV2 as core::fmt::Debug>::fmt 3548
<::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
::fmt 0
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 0
::eq 30
<::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>>> 60
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 60
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 789
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 789
::clone 1820
<pageserver::tenant::metadata::TimelineMetadataHeader as core::fmt::Debug>::fmt 3548
<::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
::fmt 0
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 0
::eq 26
<::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>>> 64
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 64
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 787
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 787
::clone 1820

Generated by: LCOV version 2.1-beta