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
+3
View File
@@ -6,6 +6,7 @@ import (
"encoding/json"
"errors"
"fmt"
"git.novox.be/novox/mesh-sdk/go/views"
"os"
"os/exec"
"path/filepath"
@@ -127,6 +128,8 @@ type Machine struct {
// Await waits at most the bound for an event of the module whose kind is one of kinds, and answers it; false
// when none came.
Await func(kinds []string, bound time.Duration) (map[string]any, bool)
// Findings writes the module's own state `findings` as the seat mesh-conditions' layout says (A-32).
Findings views.FindingWriter
// Warnings are what the apply saw that is no failure (a change the bus did not take, a parameter awaiting
// a load).
Warnings []string