fix: batch ssh sync imports
This commit is contained in:
parent
f06db17066
commit
7c0399b2ef
3 changed files with 321 additions and 17 deletions
|
|
@ -72,7 +72,7 @@ behavior.
|
|||
points.
|
||||
- `[ ]` No generic `geth-common` crate is introduced.
|
||||
|
||||
- `[~]` Extract live-sync engine.
|
||||
- `[x]` Extract live-sync engine.
|
||||
Acceptance criteria:
|
||||
- `[x]` Sync cursor keys, cursor persistence, stream health recording, and
|
||||
local sync-status reduction live in a sync-focused module.
|
||||
|
|
@ -127,12 +127,14 @@ it.
|
|||
- `[x]` Fresh database creation and repeated opens are idempotent.
|
||||
- `[x]` Old schema fixtures migrate to the current schema in tests.
|
||||
|
||||
- `[~]` Make multi-table writes transactional.
|
||||
- `[x]` Make multi-table writes transactional.
|
||||
Acceptance criteria:
|
||||
- `[x]` Signed operation and signature imports commit atomically.
|
||||
- `[x]` Keychain/auth sync imports stage accepted records and commit accepted
|
||||
op/signature groups through store batch transactions.
|
||||
- `[ ]` Multi-record sync imports cannot leave partial state after a local
|
||||
- `[x]` SSH distribution sync imports stage accepted records and commit
|
||||
requests, certificates, and revocations through one store transaction.
|
||||
- `[x]` Multi-record sync imports cannot leave partial state after a local
|
||||
error.
|
||||
- `[x]` Tests cover failure injection for at least one multi-table path.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue