Skip to main content

Reject a second Central

Status: Ready

Article ID: 055

Truth label: Current

Audience: Operations owner

Reader outcome: Protect one Forge data root from two active Central processes with a process lock and native SQLite writer model.

Related articles: 031, 054, 056

Target week: 22

Last verified: 2026-09-13

Technical reviewer: Codex source audit

Editorial reviewer: Codex editorial audit

Keep one active writer​

Central owns mutable control-plane state for one data root. Startup acquires an exclusive process lock before operating the SQLite database. A second Central pointing at the same root must fail instead of serving stale in-memory views.

Distinguish two protections​

SQLite transactions protect concurrent mutations inside the active process. The process lock rejects another active Central. Result deduplication handles repeated network delivery. Each control addresses a different duplication path.

Diagnose refusal safely​

When startup reports the root is already owned, identify the existing process and service supervisor. Do not delete the lock while a Central may be alive. Stop the owner cleanly, confirm ports and process state, then start one instance.

Prove with a scratch root​

Launch one scratch Central and attempt a second against the exact same native root. Verify the second refuses and the first continues serving its state.

Current limits​

The lock is a single-host, native-filesystem control, not distributed leader election. It is unreliable on mounts that do not preserve required lock and SQLite semantics. High availability is not provided.

Next lesson​

Continue with Why Forge needs a native filesystem.

Derivative map​

  • Weekly package: WEEK-22
  • Long video: VIDEO-W22-LONG
  • Shorts: SHORT-W22-PROBLEM, SHORT-W22-MECHANISM, SHORT-W22-WARNING
  • Email: EMAIL-W22
  • LinkedIn: LI-W22-A, LI-W22-B
  • X: X-W22-A, X-W22-B
  • Visual: VISUAL-W22

Review record​

  • Process lock, SQLite writer, and duplicate-delivery distinctions checked against current source.
  • Mount and high-availability limits reviewed.
  • Refusal proof uses a scratch root and preserves the live lock.
  • Internal links and repository voice reviewed.

Review completed: 2026-08-27

Re-audited against the running product: 2026-09-13