pingqiuandClaude Opus 5.5 7c3fdd2762 fix(layout): guard the reader's volume id cache against concurrent reads
A cut's parallel uploads share one Reader, and its volume id cache was a
plain map read and written without a lock: a data race under -race. A leaf
mutex now guards the map, held only around its read and write, never across
a fetch. The abort test's blocking store no longer writes its channel field
from the commit's goroutine while the test reads it; a sync.Once holds the
first commit instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 23:37:10 -08:00
Languages
Go 84.6%
Rust 7.8%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%