Z14 zfs-follower: the follower starts the apply on the events that end a wait and keeps its findings in its own state

Builds: design 42 zfs-owns-zfs §18, §27, A-10, A-16, A-32
This commit is contained in:
2026-11-13 00:49:01 +01:00
parent 23256413de
commit dd1a4e083c
7 changed files with 329 additions and 2 deletions
+2
View File
@@ -7,6 +7,7 @@ import (
"sync"
"time"
"git.novox.be/novox/mesh-contracts/health-and-repair/go/clients/meshconditionsclient"
stdio "git.novox.be/novox/mesh-sdk/go"
"git.novox.be/novox/mesh-sdk/go/buscalls"
"git.novox.be/novox/mesh-sdk/go/process"
@@ -48,6 +49,7 @@ func (m *Machine) JoinBus() func() {
}
m.Emit = func(kind string, body any) error { return c.Emit(kind, body, stdio.EmitOptions{}) }
m.States = busStates{c}
m.Findings = meshconditionsclient.FindingWriter{State: c.State(StateFindings)}
m.Call = c.Call
return c.Close
}