reifydb-store-multi 0.7.0

Multi-version storage for OLTP operations with MVCC support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2026 ReifyDB

//! Background flusher that migrates writes from the buffer tier to the persistent tier. Flush is the
//! watermark-coupled eviction sweep: on each tick (or explicit request) it persists the latest-<=W value per key of
//! every persistent shape, then drops all <=W versions from the commit tier, bounding the commit tier's RAM.

pub mod actor;

use reifydb_core::interface::catalog::shape::ShapeId;

pub trait ShapePersistence: Send + Sync + 'static {
	fn is_persistent(&self, shape: ShapeId) -> bool;
}