pub fn acquire_profile_root_snapshot_guard(
data_dir: &Path,
) -> Result<Option<ProfileRootSnapshotGuard>>Expand description
Hold the shared side of the profile/event-root transaction while a storage
retention pass snapshots and traverses every currently published root.
Returning None is valid only when the data directory has no socialgraph
database yet.