pub const WAL_MAX_WRITERS_BEFORE_BARRIER: usize = 10;
Maximum concurrent writers before the WAL engages barrier mode. Beyond this threshold, new writers block until the current batch completes.