mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
69cd5c08bb675a8d3433bb83581edfe295b33352
If the Go event recorder itself dies or cannot start, the rest of its stream (stdout, and the stderr side) now drains through cat, so go test never writes into a closed pipe and its own exit status stays the answer. Twins with a recorder that exits after 100 bytes and a large stream: exit 0 stays 0, exit 7 stays 7. Stopping the load sampler now waits on its pidfd (readable on exit) for 2 s; a sampler still alive leaves load.incomplete beside its rows and a stderr note instead of returning as if it had flushed. The stop test checks the process is gone (no file-stability guess) and a SIGTERM- ignoring stand-in yields the note within 5 s. 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%