Skip to content

Commit c7254a4

Browse files
update docs
1 parent 39045f8 commit c7254a4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/write-checkpoint-requests.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,12 @@ waitForSync() {
273273
The public database method requires an active or connecting sync client, because a disconnected
274274
request could not be delivered to the service or observed in the sync stream.
275275

276+
Waiters do not need durable applied state across reconnects or app restarts. The connect-time
277+
counter reconciliation doubles as a re-request: the SDK posts the effective checkpoint request id
278+
to the service on every connection attempt, so the next checkpoint carries a `write_checkpoint`
279+
greater than or equal to any previously requested id and core emits a fresh
280+
`CheckpointRequestApplied` instruction that resolves outstanding waits.
281+
276282
## `ps_kv` checkpoint state
277283

278284
- `local_target_op`: The current apply gate. It is either `MAX_OP_ID` while local writes are

0 commit comments

Comments
 (0)