mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
b264c2330e63770d9b13f45a7a3bc8a968a1ce0b
Review of 1af91e6a (two test P2):
- Every worker goroutine of the held-caller tests runs through
startWorker, whose cleanup (ordered before the store's Close) opens the
test's gates and joins the worker within a bound, so a test that stops
early never closes the store under a live flush or Sync.
TestWALStoreHeldWorkersSettleOnAFailurePath stops a test while a flush
is held inside the store and checks the worker finished before the store
was closed.
- The serialization oracle waits until the competing flusher reaches
syncFile (testBeforeFileSync, a nil-by-default hook just before
fileSyncMu) before checking that its extent fsync does not run while the
WAL fsync is in flight.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%