reifydb-transaction 0.4.11

Transaction management and concurrency control for ReifyDB
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2025 ReifyDB

pub mod actor;
#[allow(clippy::module_inception)]
pub mod watermark;

// Configuration constants for watermark processing
pub const MAX_WAITERS: usize = 10000;
pub const MAX_PENDING: usize = 100000;
pub const OLD_VERSION_THRESHOLD: u64 = 1000; // Versions older than this are considered irrelevant
pub const PENDING_CLEANUP_THRESHOLD: u64 = 1000; // Clean up pending entries older than this
pub const WATERMARK_CHANNEL_SIZE: usize = 1000; // Channel buffer size for watermark messages