mod memory_allocations;
mod model;
mod storage_report;
use model::{
IndexStoreSnapshotStats, StoreSnapshotAllocationIdentity, StoreSnapshotSchemaMetadata,
};
pub use memory_allocations::{
MemoryAllocation, MemoryAllocationBinding, MemoryAllocationRangeClaim, MemoryAllocations,
MemoryExtent,
};
pub use model::{
DataStoreSnapshot, EntitySnapshot, IndexStoreSnapshot, SchemaStoreSnapshot, StorageReport,
StoreSnapshotStorageMode,
};
pub(in crate::db) use storage_report::{storage_report, storage_report_default};
#[cfg(feature = "metrics")]
pub(crate) fn journal_debt()
-> Result<crate::db::commit::ExactBacklogMeasurement, crate::error::InternalError> {
crate::db::commit::current_database_backlog()
}