document_lane_revalidations Client SQLite table
Containers whose document lane a tree listing showed may have moved, and that still owe a listing. Every server write that changes what a container's document lane returns republishes the container's row, so a tree listing that is served the row owes the lane one listing. The catch-up after an acknowledged connection lists only the lanes owed here, and the lanes that never settled, instead of every lane it knows. The row is written before the serving lane's watermark advances past the container's row, so a restart before the listing still owes it.
Declared in packages/client-sdk/src/data/sqlite/schema/containerSyncWatermarkSchema.ts
Columns
container_idtext- primary key
- not null
The container whose document lane is owed a listing.
revisiontext- not null
Replaced on every request. A listing settles only the request it read before it began: a listing already in flight when the row was served may have been answered before the change behind it.
requested_attext- not null
When this device last recorded the request.
DDL
The statements the client runs to create this table and its indexes.
CREATE TABLE IF NOT EXISTS "document_lane_revalidations" (
"container_id" TEXT NOT NULL PRIMARY KEY,
"revision" TEXT NOT NULL,
"requested_at" TEXT NOT NULL
);