Implement durable versioned image pipeline with outbox, fencing and fault experiments

This commit is contained in:
2026-11-20 21:38:54 +03:00
parent 276dbdad8a
commit 33e02d0ef9
58 changed files with 4293 additions and 25 deletions
+18
View File
@@ -0,0 +1,18 @@
//go:build linux
package messenger
import (
"os/exec"
"syscall"
)
func configureChild(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}
cmd.Cancel = func() error {
if cmd.Process != nil {
return syscall.Kill(-cmd.Process.Pid, syscall.SIGKILL)
}
return nil
}
}