chore(deps): bump ZB.MOM.WW.LocalDb to 0.3.0 — per-table snapshot resync

LocalDb 0.3.0 (scadaproj branch localdb-per-table-snapshot) narrows the
snapshot-resync flag from one per-database bit to one per table, closing the
residual 0.2.1 explicitly deferred. On-disk bookkeeping schema goes to v3
(__localdb_snapshot_state, upgraded in place on open); the wire stays compatible
with 0.1.x/0.2.x, negotiated by capability rather than by a lib_schema_version
bump — which is not available, since the handshake compares that field
fail-closed for equality.

SiteLocalDbSetup needed no restructuring: it already calls RegisterReplicated
once per table, which is exactly what per-table flagging keys off. The comment
now records that the loop shape is load-bearing, and what it buys — adding an
eleventh table to ReplicatedTables on an already-replicating site snapshots that
one table, where through 0.2.x the same edit re-streamed all eleven in full in
both directions. First boot is unchanged (all ten seed at once, so the flagged
set is every registered table and the library sends an ordinary full snapshot),
and upgrading the rig in place is a no-op (the ten are already ledgered, so
nothing seeds and nothing is flagged).

Suites: Host 490/490, SiteRuntime 604/604, StoreAndForward 134/134,
SiteEventLogging 76/76. Solution build clean.

topology-guide + CLAUDE.md LocalDb bullet updated; the umbrella scadaproj
CLAUDE.md travels in that repo's commit.
This commit is contained in:
Joseph Doherty
2026-08-15 03:42:34 -04:00
parent 2b74851f96
commit a5ac309a94
4 changed files with 30 additions and 4 deletions
+3 -3
View File
@@ -109,9 +109,9 @@
<PackageVersion Include="ZB.MOM.WW.Secrets.Ui" Version="0.6.2" />
<PackageVersion Include="ZB.MOM.WW.Secrets.Replicator.SqlServer" Version="0.6.2" />
<PackageVersion Include="ZB.MOM.WW.Secrets.Replicator.Grpc" Version="0.6.2" />
<PackageVersion Include="ZB.MOM.WW.LocalDb" Version="0.2.1" />
<PackageVersion Include="ZB.MOM.WW.LocalDb.Replication" Version="0.2.1" />
<PackageVersion Include="ZB.MOM.WW.LocalDb.Contracts" Version="0.2.1" />
<PackageVersion Include="ZB.MOM.WW.LocalDb" Version="0.3.0" />
<PackageVersion Include="ZB.MOM.WW.LocalDb.Replication" Version="0.3.0" />
<PackageVersion Include="ZB.MOM.WW.LocalDb.Contracts" Version="0.3.0" />
</ItemGroup>
<!--