mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
Product binaries (cmd/blockmaster, cmd/blockvolume) and core/host wiring for volume-scoped assignment delivery, durable authority with Windows rename retry, and the T0 closure test set (D1 L2 subprocess, D2 G1 adversarial, D3 concurrent write-reload regression, D4 hosting-smoke scenario + Go-native replay, D5 --topology flag). Diagnostic surfaces: ObservationStore.SupersededCount (PCDD-DELAYED-HB-001 evidence, not authority input) and SetNowForTest clock seam on Store/Host, guarded by grep test ensuring the identifier stays out of production files.
11 lines
292 B
Go
11 lines
292 B
Go
package host_test
|
|
|
|
import "os"
|
|
|
|
// writeFileRaw is a thin shim around os.WriteFile used by L2
|
|
// artifact writers. Kept in a separate file so the subprocess
|
|
// test file's import set stays minimal.
|
|
func writeFileRaw(path string, data []byte) error {
|
|
return os.WriteFile(path, data, 0o644)
|
|
}
|