pingqiuandClaude Opus 5.5 da217ed376 storage: the pause accounting is the capture's own
resolveTouchFilled and the touched set's allocation also run on readers
(status, pre-copy, the shadow: peekTouched) without the capture lock; they
counted into the capture's paused/pauseOps whenever a cut happened to be
paused, a data race and a misattribution. They count only on the capturing
goroutine now (byCapture); readers never touch those fields.

TestAReaderBesideCutsAndRecoveriesIsNotChargedToThePause runs a reader
beside cuts and recoveries (one just before the barrier); under -race it
reports 2 data races on the previous code and none now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 20:23:01 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%