feat: execute durable syncthing route setup
This commit is contained in:
@@ -26,6 +26,12 @@ Durable inventory commands now stream bounded atomic summary, lookup, and
|
||||
content-tree chunks. Page tokens are guarded by timestamp-independent snapshot
|
||||
revisions, stale trees fail explicitly, and slow scans run outside the socket
|
||||
reader so heartbeat acknowledgements remain responsive.
|
||||
Durable `EnsureRoute` commands use scoped Syncthing device/folder REST updates,
|
||||
safe API/local path mapping, exact pairwise configuration read-back, and
|
||||
bidirectional nonce/acknowledgement files. Route attempt nonces, ownership, and
|
||||
ordered updates survive restart; accepted attempts resume on reconnect without
|
||||
concurrent duplicate execution. Conflicting existing folders and foreign data
|
||||
are reported without being overwritten.
|
||||
|
||||
```bash
|
||||
archive-client --config /etc/archive-control/client.toml --check-config
|
||||
@@ -38,10 +44,10 @@ archive-client-backup --database /var/lib/archive-control/client.db \
|
||||
Secrets must be regular files without group/world permissions. The daemon never
|
||||
stores them in SQLite or sends the shared token after registration.
|
||||
|
||||
This foundation currently executes heartbeat and state-snapshot commands.
|
||||
Other mutation commands are durably rejected as unsupported until their
|
||||
service and file-operation executors are added; they are never falsely
|
||||
acknowledged as accepted.
|
||||
This foundation currently executes heartbeat, inventory, state-snapshot, and
|
||||
route-provisioning commands. Other mutation commands are durably rejected as
|
||||
unsupported until their service and file-operation executors are added; they
|
||||
are never falsely acknowledged as accepted.
|
||||
|
||||
Run tests and build using containers:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user