Apply compatible DB sync batches
This commit is contained in:
parent
f7f14f6b27
commit
43433dbf1d
8 changed files with 185 additions and 26 deletions
|
|
@ -188,10 +188,10 @@ older than the local document timestamp.
|
|||
DB sync is a staged cr-sqlite path: manual `geth db sync <node-id> <name>` and
|
||||
background live-sync require `db.sync` on `resource:db:<name>`, exchange typed
|
||||
`crsql_changes` batches over the protected Iroh control path, and check remote
|
||||
schema metadata against the local DB before advancing the per-peer cursor.
|
||||
Applying remote changes through cr-sqlite is still future work, so the current
|
||||
prototype is useful for validating auth, schema gating, and live change
|
||||
exchange without mutating the local application database.
|
||||
schema metadata against the local DB before applying and advancing the per-peer
|
||||
cursor. Compatible batches are inserted into the local `crsql_changes` table or
|
||||
view; for real cr-sqlite databases, loading/configuring cr-sqlite remains the
|
||||
database owner's responsibility.
|
||||
Importing or pinging a peer card never grants capabilities by itself.
|
||||
When `[iroh].local_discovery = true`, the daemon also advertises and discovers
|
||||
signed peer cards on LAN using a geth-specific mDNS TXT payload. That payload is
|
||||
|
|
|
|||
Loading…
Reference in a new issue