Skip to content

Commit 4ab70d7

Browse files
Ignacio Van Droogenbroeckclaude
andcommitted
Clarify difference between SQLite WAL and Arc WAL feature
Added important clarification section to distinguish: 1. SQLite WAL mode (always enabled) - for metadata database 2. Arc WAL feature (disabled by default) - for data durability This prevents confusion when users see the startup log "SQLite WAL mode enabled for concurrent access" Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8fc1d78 commit 4ab70d7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/advanced/wal.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ sidebar_position: 1
66

77
Arc's Write-Ahead Log (WAL) provides **zero data loss guarantees** on system crashes.
88

9+
:::note Important Clarification
10+
There are **two different WAL features** in Arc:
11+
12+
1. **SQLite WAL mode** (always enabled) - Internal mode for Arc's metadata database (`arc.db`). This enables concurrent access to connection settings, export jobs, and compaction locks. You'll see the log message `"SQLite WAL mode enabled for concurrent access"` on startup - this is expected and not related to data ingestion.
13+
14+
2. **Arc's WAL feature** (disabled by default) - Optional durability feature for **data ingestion** that provides zero data loss guarantees. This page documents the Arc WAL feature, controlled by the `WAL_ENABLED` environment variable.
15+
16+
**TL;DR**: The startup log `"SQLite WAL mode enabled"` is normal and does NOT mean Arc's data ingestion WAL is enabled.
17+
:::
18+
919
## Overview
1020

1121
WAL is an optional durability feature that persists all incoming data to disk **before** acknowledging writes. When enabled, Arc guarantees that data can be recovered even if the instance crashes.

0 commit comments

Comments
 (0)