LCOV - code coverage report
Current view:
top level
-
safekeeper/src
- wal_storage.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
aca8877be6ceba750c1be359ed71bc1799d52b30.info
Lines:
86.7 %
442
383
Test Date:
2024-02-14 18:05:35
Functions:
83.0 %
53
44
Function Name
Hit count
<_ as safekeeper::wal_storage::Storage>::close
0
<_ as safekeeper::wal_storage::Storage>::close
0
::close
0
<safekeeper::wal_storage::PhysicalStorage>::new::{closure#0}
0
<safekeeper::wal_storage::PhysicalStorage>::new::{closure#1}
0
<safekeeper::wal_storage::PhysicalStorage>::open_or_create::{closure#0}::{closure#0}
0
<safekeeper::wal_storage::WalReader>::open_segment::{closure#0}::{closure#1}
0
safekeeper::wal_storage::write_zeroes::{closure#0}::{closure#0}
0
safekeeper::wal_storage::write_zeroes::{closure#0}::{closure#0}::{closure#0}
0
<safekeeper::wal_storage::WalReader>::new::{closure#0}
2
<safekeeper::wal_storage::PhysicalStorage>::internal_state
5
safekeeper::wal_storage::remove_segments_from_disk::<<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::remove_up_to::{closure#0}::{closure#0}>::{closure#0}::{closure#0}
7
safekeeper::wal_storage::remove_segments_from_disk::<
::truncate_wal::{closure#0}::{closure#0}>::{closure#0}::{closure#0}
0
safekeeper::wal_storage::remove_segments_from_disk::<
::remove_up_to::{closure#0}::{closure#0}>::{closure#0}::{closure#0}
7
<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::close
28
<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::remove_up_to
30
<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::remove_up_to::{closure#0}
30
<safekeeper::wal_storage::WalReader>::open_wal_file::{closure#0}::{closure#0}
36
<safekeeper::wal_storage::WalReader>::open_wal_file::{closure#0}::{closure#1}
36
<safekeeper::wal_storage::WalReader>::open_wal_file::{closure#0}::{closure#1}::{closure#0}
36
<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::get_metrics
51
<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::remove_up_to::{closure#0}::{closure#0}
63
<safekeeper::wal_storage::WalReader>::open_segment::{closure#0}::{closure#0}
72
<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::truncate_wal::{closure#0}::{closure#0}
174
<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::write_wal::{closure#0}::{closure#0}
486
safekeeper::wal_storage::remove_segments_from_disk::<<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::remove_up_to::{closure#0}::{closure#0}>
593
safekeeper::wal_storage::remove_segments_from_disk::<
::remove_up_to::{closure#0}::{closure#0}>
30
safekeeper::wal_storage::remove_segments_from_disk::<
::truncate_wal::{closure#0}::{closure#0}>
563
safekeeper::wal_storage::remove_segments_from_disk::<<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::remove_up_to::{closure#0}::{closure#0}>::{closure#0}
593
safekeeper::wal_storage::remove_segments_from_disk::<
::remove_up_to::{closure#0}::{closure#0}>::{closure#0}
30
safekeeper::wal_storage::remove_segments_from_disk::<
::truncate_wal::{closure#0}::{closure#0}>::{closure#0}
563
<safekeeper::wal_storage::PhysicalStorage>::new
663
<safekeeper::wal_storage::WalReader>::new
899
<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::truncate_wal
1730
::truncate_wal
865
::truncate_wal::{closure#0}
865
safekeeper::wal_storage::wal_file_paths
2711
<safekeeper::wal_storage::WalReader>::open_wal_file
3282
::open_wal_file
1641
::open_wal_file::{closure#0}
1641
<safekeeper::wal_storage::WalReader>::open_segment
3286
::open_segment
1643
::open_segment::{closure#0}
1643
safekeeper::wal_storage::write_zeroes
3616
safekeeper::wal_storage::write_zeroes
1808
safekeeper::wal_storage::write_zeroes::{closure#0}
1808
<safekeeper::wal_storage::PhysicalStorage>::open_or_create
3786
::open_or_create
1893
::open_or_create::{closure#0}
1893
<safekeeper::wal_storage::WalReader>::read
1525230
::read
762615
::read::{closure#0}
762615
<safekeeper::wal_storage::PhysicalStorage>::fdatasync_file
1795764
::fdatasync_file
897882
::fdatasync_file::{closure#0}
897882
<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::write_wal
3025082
::write_wal
1512541
::write_wal::{closure#0}
1512541
<safekeeper::wal_storage::PhysicalStorage>::write_exact
3025082
::write_exact
1512541
::write_exact::{closure#0}
1512541
<safekeeper::wal_storage::PhysicalStorage>::write_in_segment
3026488
::write_in_segment
1513244
::write_in_segment::{closure#0}
1513244
<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::flush_wal
3045742
::flush_wal
1522871
::flush_wal::{closure#0}
1522871
<safekeeper::wal_storage::PhysicalStorage as safekeeper::wal_storage::Storage>::flush_lsn
7883252
Generated by:
LCOV version 2.1-beta