@optimystic/db-core 1.21.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/dist/src/btree/btree.d.ts +36 -4
- package/dist/src/btree/btree.d.ts.map +1 -1
- package/dist/src/btree/btree.js +86 -18
- package/dist/src/btree/btree.js.map +1 -1
- package/dist/src/collection/action.d.ts +7 -4
- package/dist/src/collection/action.d.ts.map +1 -1
- package/dist/src/collection/action.js +13 -5
- package/dist/src/collection/action.js.map +1 -1
- package/dist/src/collection/collection.d.ts +177 -51
- package/dist/src/collection/collection.d.ts.map +1 -1
- package/dist/src/collection/collection.js +265 -81
- package/dist/src/collection/collection.js.map +1 -1
- package/dist/src/collection/struct.d.ts +44 -8
- package/dist/src/collection/struct.d.ts.map +1 -1
- package/dist/src/collection/struct.js.map +1 -1
- package/dist/src/collection/write-attempts.d.ts +138 -34
- package/dist/src/collection/write-attempts.d.ts.map +1 -1
- package/dist/src/collection/write-attempts.js +168 -101
- package/dist/src/collection/write-attempts.js.map +1 -1
- package/dist/src/collections/diary/diary.d.ts.map +1 -1
- package/dist/src/collections/diary/diary.js +5 -1
- package/dist/src/collections/diary/diary.js.map +1 -1
- package/dist/src/collections/tree/tree.d.ts +18 -10
- package/dist/src/collections/tree/tree.d.ts.map +1 -1
- package/dist/src/collections/tree/tree.js +17 -9
- package/dist/src/collections/tree/tree.js.map +1 -1
- package/dist/src/hlc/clock-store.d.ts +63 -0
- package/dist/src/hlc/clock-store.d.ts.map +1 -0
- package/dist/src/hlc/clock-store.js +49 -0
- package/dist/src/hlc/clock-store.js.map +1 -0
- package/dist/src/hlc/clock.d.ts +64 -0
- package/dist/src/hlc/clock.d.ts.map +1 -0
- package/dist/src/hlc/clock.js +171 -0
- package/dist/src/hlc/clock.js.map +1 -0
- package/dist/src/hlc/hlc.d.ts +38 -0
- package/dist/src/hlc/hlc.d.ts.map +1 -0
- package/dist/src/hlc/hlc.js +41 -0
- package/dist/src/hlc/hlc.js.map +1 -0
- package/dist/src/hlc/index.d.ts +5 -0
- package/dist/src/hlc/index.d.ts.map +1 -0
- package/dist/src/hlc/index.js +5 -0
- package/dist/src/hlc/index.js.map +1 -0
- package/dist/src/hlc/skew.d.ts +35 -0
- package/dist/src/hlc/skew.d.ts.map +1 -0
- package/dist/src/hlc/skew.js +35 -0
- package/dist/src/hlc/skew.js.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/lane/index.d.ts +2 -0
- package/dist/src/lane/index.d.ts.map +1 -0
- package/dist/src/lane/index.js +2 -0
- package/dist/src/lane/index.js.map +1 -0
- package/dist/src/lane/lane.d.ts +46 -0
- package/dist/src/lane/lane.d.ts.map +1 -0
- package/dist/src/lane/lane.js +26 -0
- package/dist/src/lane/lane.js.map +1 -0
- package/dist/src/log/log.d.ts +50 -22
- package/dist/src/log/log.d.ts.map +1 -1
- package/dist/src/log/log.js +21 -13
- package/dist/src/log/log.js.map +1 -1
- package/dist/src/log/struct.d.ts +61 -1
- package/dist/src/log/struct.d.ts.map +1 -1
- package/dist/src/log/struct.js +24 -0
- package/dist/src/log/struct.js.map +1 -1
- package/dist/src/network/i-repo.d.ts +10 -0
- package/dist/src/network/i-repo.d.ts.map +1 -1
- package/dist/src/network/stale-failure.d.ts +20 -7
- package/dist/src/network/stale-failure.d.ts.map +1 -1
- package/dist/src/network/stale-failure.js +29 -7
- package/dist/src/network/stale-failure.js.map +1 -1
- package/dist/src/network/struct.d.ts +50 -0
- package/dist/src/network/struct.d.ts.map +1 -1
- package/dist/src/network/struct.js.map +1 -1
- package/dist/src/offline/entry.d.ts +14 -0
- package/dist/src/offline/entry.d.ts.map +1 -1
- package/dist/src/offline/entry.js +2 -0
- package/dist/src/offline/entry.js.map +1 -1
- package/dist/src/offline/journal.d.ts +10 -0
- package/dist/src/offline/journal.d.ts.map +1 -1
- package/dist/src/offline/queue.d.ts +10 -0
- package/dist/src/offline/queue.d.ts.map +1 -1
- package/dist/src/offline/queue.js +29 -3
- package/dist/src/offline/queue.js.map +1 -1
- package/dist/src/offline/status.d.ts +7 -0
- package/dist/src/offline/status.d.ts.map +1 -1
- package/dist/src/offline/status.js.map +1 -1
- package/dist/src/testing/test-transactor.d.ts +9 -1
- package/dist/src/testing/test-transactor.d.ts.map +1 -1
- package/dist/src/testing/test-transactor.js +12 -3
- package/dist/src/testing/test-transactor.js.map +1 -1
- package/dist/src/transaction/actions-engine.d.ts +3 -0
- package/dist/src/transaction/actions-engine.d.ts.map +1 -1
- package/dist/src/transaction/actions-engine.js +3 -0
- package/dist/src/transaction/actions-engine.js.map +1 -1
- package/dist/src/transaction/coordinator.d.ts +16 -5
- package/dist/src/transaction/coordinator.d.ts.map +1 -1
- package/dist/src/transaction/coordinator.js +203 -48
- package/dist/src/transaction/coordinator.js.map +1 -1
- package/dist/src/transaction/entry-commit.d.ts +45 -10
- package/dist/src/transaction/entry-commit.d.ts.map +1 -1
- package/dist/src/transaction/entry-commit.js +20 -7
- package/dist/src/transaction/entry-commit.js.map +1 -1
- package/dist/src/transaction/errors.d.ts +69 -1
- package/dist/src/transaction/errors.d.ts.map +1 -1
- package/dist/src/transaction/errors.js +70 -1
- package/dist/src/transaction/errors.js.map +1 -1
- package/dist/src/transaction/index.d.ts +1 -1
- package/dist/src/transaction/index.d.ts.map +1 -1
- package/dist/src/transaction/index.js +1 -1
- package/dist/src/transaction/index.js.map +1 -1
- package/dist/src/transaction/session.d.ts.map +1 -1
- package/dist/src/transaction/session.js +18 -5
- package/dist/src/transaction/session.js.map +1 -1
- package/dist/src/transaction/transaction.d.ts +74 -15
- package/dist/src/transaction/transaction.d.ts.map +1 -1
- package/dist/src/transaction/transaction.js +35 -15
- package/dist/src/transaction/transaction.js.map +1 -1
- package/dist/src/transaction/validator.d.ts +25 -4
- package/dist/src/transaction/validator.d.ts.map +1 -1
- package/dist/src/transaction/validator.js +45 -5
- package/dist/src/transaction/validator.js.map +1 -1
- package/dist/src/transactor/block-floors.d.ts +12 -1
- package/dist/src/transactor/block-floors.d.ts.map +1 -1
- package/dist/src/transactor/block-floors.js +14 -1
- package/dist/src/transactor/block-floors.js.map +1 -1
- package/dist/src/transactor/network-transactor.d.ts +8 -0
- package/dist/src/transactor/network-transactor.d.ts.map +1 -1
- package/dist/src/transactor/network-transactor.js +9 -4
- package/dist/src/transactor/network-transactor.js.map +1 -1
- package/dist/src/transactor/transactor-source.d.ts +11 -0
- package/dist/src/transactor/transactor-source.d.ts.map +1 -1
- package/dist/src/transactor/transactor-source.js +5 -1
- package/dist/src/transactor/transactor-source.js.map +1 -1
- package/dist/src/transactor/transactor.d.ts +8 -0
- package/dist/src/transactor/transactor.d.ts.map +1 -1
- package/dist/src/transform/cache-source.d.ts +7 -0
- package/dist/src/transform/cache-source.d.ts.map +1 -1
- package/dist/src/transform/cache-source.js +14 -18
- package/dist/src/transform/cache-source.js.map +1 -1
- package/package.json +1 -1
- package/src/btree/btree.ts +92 -18
- package/src/collection/action.ts +13 -5
- package/src/collection/collection.ts +3272 -3039
- package/src/collection/struct.ts +493 -456
- package/src/collection/write-attempts.ts +213 -109
- package/src/collections/diary/diary.ts +5 -1
- package/src/collections/tree/tree.ts +33 -18
- package/src/hlc/clock-store.ts +68 -0
- package/src/hlc/clock.ts +196 -0
- package/src/hlc/hlc.ts +56 -0
- package/src/hlc/index.ts +4 -0
- package/src/hlc/skew.ts +55 -0
- package/src/index.ts +2 -0
- package/src/lane/index.ts +1 -0
- package/src/lane/lane.ts +54 -0
- package/src/log/log.ts +341 -310
- package/src/log/struct.ts +62 -1
- package/src/network/i-repo.ts +11 -1
- package/src/network/stale-failure.ts +31 -7
- package/src/network/struct.ts +50 -0
- package/src/offline/entry.ts +16 -0
- package/src/offline/journal.ts +10 -0
- package/src/offline/queue.ts +38 -4
- package/src/offline/status.ts +7 -0
- package/src/testing/test-transactor.ts +1065 -1050
- package/src/transaction/actions-engine.ts +3 -0
- package/src/transaction/coordinator.ts +235 -54
- package/src/transaction/entry-commit.ts +56 -14
- package/src/transaction/errors.ts +60 -0
- package/src/transaction/index.ts +1 -1
- package/src/transaction/session.ts +18 -5
- package/src/transaction/transaction.ts +90 -17
- package/src/transaction/validator.ts +46 -5
- package/src/transactor/block-floors.ts +15 -1
- package/src/transactor/network-transactor.ts +1908 -1896
- package/src/transactor/transactor-source.ts +15 -1
- package/src/transactor/transactor.ts +9 -0
- package/src/transform/cache-source.ts +15 -17
|
@@ -5,13 +5,14 @@ import { CacheSource } from "../transform/cache-source.js";
|
|
|
5
5
|
import { TransactorSource } from "../transactor/transactor-source.js";
|
|
6
6
|
import { BlockFloors } from "../transactor/block-floors.js";
|
|
7
7
|
import type { WriteDurability } from "../network/struct.js";
|
|
8
|
-
import type { CollectionId, CommittedTail, CommittedTailAnswer, CommittedTailQuery, HeadCommitOptions, ICollection, InFlightAttempt, InFlightCycle, OpenHeadCommitOptions, SyncOptions } from "./index.js";
|
|
8
|
+
import type { CollectionId, CommittedTail, CommittedTailAnswer, CommittedTailQuery, CommittedTailReadOptions, HeadCommitOptions, ICollection, InFlightAttempt, InFlightCycle, OpenHeadCommitOptions, SyncOptions } from "./index.js";
|
|
9
9
|
import { ActionRefusedError } from "./struct.js";
|
|
10
10
|
import type { EntryId } from "./segments.js";
|
|
11
11
|
import type { ActionContext, ActionRev, AlreadyAppliedTally } from "./action.js";
|
|
12
12
|
import type { WriteIdentity } from "./write-attempts.js";
|
|
13
13
|
import type { HeadCommitHandle } from "./head-commit.js";
|
|
14
14
|
import type { ReadDependency } from "../transaction/transaction.js";
|
|
15
|
+
import { type Lane } from "../lane/lane.js";
|
|
15
16
|
/** What one refresh ({@link Collection.refreshInFlight}, and the refresh inside a sync) found out
|
|
16
17
|
* about the write in flight on the instance's behalf. The caller hands in an empty report and the
|
|
17
18
|
* refresh fills it in AS IT GOES, rather than returning it at the end, so a refresh that throws
|
|
@@ -33,20 +34,41 @@ export type RefreshReport = {
|
|
|
33
34
|
durability?: WriteDurability;
|
|
34
35
|
};
|
|
35
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* The convergent lane's conflict rule for a collection (`Lane` in `packages/db-core/src/lane/lane.ts`):
|
|
39
|
+
* which of its actions may be committed by one machine without first agreeing with the others and
|
|
40
|
+
* merged into their concurrent writes later, and how such an action is rebased over a stranger's
|
|
41
|
+
* committed ones. A collection with NO declaration is strong: every action is `serializable`, the
|
|
42
|
+
* revision order decides every conflict, and nothing merges — today's behaviour, and `Tree`'s. The
|
|
43
|
+
* declaration is the opt-in; db-core has no notion of a table's profile beyond it.
|
|
44
|
+
*
|
|
45
|
+
* Convergence is a property of the OPERATION, never of the collection as a whole (idempotence is not
|
|
46
|
+
* the criterion — see `Lane`), which is why the declaration classifies per action.
|
|
47
|
+
*/
|
|
48
|
+
export type ConvergentMerge<TAction> = {
|
|
49
|
+
/** The lane of one of this collection's actions when no engine has classified it: a bare
|
|
50
|
+
* `Collection.sync` with no `SyncOptions.lane`, or an offline-queue entry sealed without a
|
|
51
|
+
* classification (`OfflineQueue.enqueue`). The stricter answer over several actions is the write's
|
|
52
|
+
* (`Collection.laneOf`). */
|
|
53
|
+
laneOf(action: Action<TAction>): Lane;
|
|
54
|
+
/** Rebase one of this collection's CONVERGENT actions over a stranger's committed actions, which a
|
|
55
|
+
* refresh found in the log after the action was staged. Offered only an action whose
|
|
56
|
+
* {@link laneOf} is `convergent`: a serializable action is kept as-is, since its guards decide on
|
|
57
|
+
* replay. Return the same instance to keep the action unchanged, a new instance to apply in its
|
|
58
|
+
* place (re-staged by the conflict replay), or `undefined` to drop it. Optional, since a convergent
|
|
59
|
+
* action that touches no shared block (a diary append) has nothing to rebase. */
|
|
60
|
+
filterConflict?(action: Action<TAction>, committed: Action<TAction>[]): Action<TAction> | undefined;
|
|
61
|
+
};
|
|
36
62
|
export type CollectionInitOptions<TAction> = {
|
|
37
63
|
/** One handler per action type. A handler may answer what the action accepted as already applied
|
|
38
64
|
* ({@link AlreadyAppliedTally}); one that answers nothing counts as the zero tally, so a collection
|
|
39
65
|
* type with no such notion returns nothing. */
|
|
40
66
|
modules: Record<ActionType, ActionHandler<TAction, AlreadyAppliedTally | void>>;
|
|
41
67
|
createHeaderBlock: (id: BlockId, store: BlockStore<IBlock>) => IBlock;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
|
|
46
|
-
* action (return a new instance to apply instead of the original — it is re-staged via
|
|
47
|
-
* the conflict replay), or undefined to discard this action
|
|
48
|
-
*/
|
|
49
|
-
filterConflict?: (action: Action<TAction>, potential: Action<TAction>[]) => Action<TAction> | undefined;
|
|
68
|
+
/** The convergent lane's conflict rule for this collection ({@link ConvergentMerge}): which of its
|
|
69
|
+
* actions are convergent, and how one is rebased over a stranger's committed actions. Omit for a
|
|
70
|
+
* strong collection, whose every action is `serializable` and is kept as-is through a refresh. */
|
|
71
|
+
merge?: ConvergentMerge<TAction>;
|
|
50
72
|
/** Called once per refusal of a SEALED segment discovered by a replay (see
|
|
51
73
|
* {@link Collection.replayActions}): the segment's entry id and the handler's refusal. Called
|
|
52
74
|
* synchronously from inside the replay, under the collection latch, so it MUST NOT call a
|
|
@@ -55,6 +77,16 @@ export type CollectionInitOptions<TAction> = {
|
|
|
55
77
|
* deadlock. The queue schedules its reaction instead. A throw out of the callback is caught and
|
|
56
78
|
* logged (`collection:refusal-callback-threw`), never allowed to abort the replay. */
|
|
57
79
|
onSealedRefused?: (entryId: EntryId, error: ActionRefusedError) => void;
|
|
80
|
+
/** Called, synchronously, at every moment what this collection's reads see may have changed
|
|
81
|
+
* beneath a reader already part-way through them: the tracker's transforms replaced (a replay,
|
|
82
|
+
* a restore, a staged action landing) or the read cache changed (a refresh adopting the log, a
|
|
83
|
+
* commit folded in). Called BEFORE the change, in the same synchronous step as it, so a reader
|
|
84
|
+
* that compares a counter the callback bumps before and after its reads sees it move whenever
|
|
85
|
+
* anything it read may be out of date (`Tree` bumps its read btree's version; see
|
|
86
|
+
* docs/btree.md §Reads under a concurrent change). Runs under the collection latch on most paths
|
|
87
|
+
* and inside await-free steps on all of them, so it must be synchronous and must not call into
|
|
88
|
+
* this collection; a throw out of it is caught and logged (`collection:view-changed-callback-threw`). */
|
|
89
|
+
onViewChanged?: () => void;
|
|
58
90
|
};
|
|
59
91
|
/** Options for building a committed read view (see {@link Collection.createReadTracker}
|
|
60
92
|
* and `Tree.readView`). */
|
|
@@ -119,9 +151,12 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
119
151
|
* {@link updateInternal}, and shared with every read source this handle builds (see
|
|
120
152
|
* {@link BlockFloors}). */
|
|
121
153
|
private readonly floors;
|
|
122
|
-
|
|
154
|
+
/** See {@link CollectionInitOptions.merge}. */
|
|
155
|
+
private readonly merge?;
|
|
123
156
|
/** See {@link CollectionInitOptions.onSealedRefused}. */
|
|
124
157
|
private readonly onSealedRefused?;
|
|
158
|
+
/** See {@link CollectionInitOptions.onViewChanged}. */
|
|
159
|
+
private readonly onViewChanged?;
|
|
125
160
|
/** Short random tag naming THIS instance (see {@link newInstanceTag}). Open paths generate
|
|
126
161
|
* it BEFORE construction (so pre-construction diagnostics such as attachToLog can carry it);
|
|
127
162
|
* the default covers direct construction in tests. */
|
|
@@ -236,9 +271,13 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
236
271
|
/** What each block named by a walked log entry must be at least as new as — raised by
|
|
237
272
|
* {@link updateInternal}, and shared with every read source this handle builds (see
|
|
238
273
|
* {@link BlockFloors}). */
|
|
239
|
-
floors: BlockFloors,
|
|
274
|
+
floors: BlockFloors,
|
|
275
|
+
/** See {@link CollectionInitOptions.merge}. */
|
|
276
|
+
merge?: ConvergentMerge<TAction> | undefined,
|
|
240
277
|
/** See {@link CollectionInitOptions.onSealedRefused}. */
|
|
241
278
|
onSealedRefused?: ((entryId: EntryId, error: ActionRefusedError) => void) | undefined,
|
|
279
|
+
/** See {@link CollectionInitOptions.onViewChanged}. */
|
|
280
|
+
onViewChanged?: (() => void) | undefined,
|
|
242
281
|
/** Short random tag naming THIS instance (see {@link newInstanceTag}). Open paths generate
|
|
243
282
|
* it BEFORE construction (so pre-construction diagnostics such as attachToLog can carry it);
|
|
244
283
|
* the default covers direct construction in tests. */
|
|
@@ -296,8 +335,11 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
296
335
|
* coordinator's answer leaves a block out — is not every collection's failure either:
|
|
297
336
|
* {@link readAttributed} then reads each block alone and only the collections whose blocks failed
|
|
298
337
|
* report an error. That fallback costs what reading each collection separately costs, and only
|
|
299
|
-
* when a request fails.
|
|
300
|
-
|
|
338
|
+
* when a request fails.
|
|
339
|
+
*
|
|
340
|
+
* `options.skipWindowConsult` puts {@link BlockGets.skipWindowConsult} on every request this read
|
|
341
|
+
* makes, the per-block fallback included. */
|
|
342
|
+
static readCommittedTails(transactor: ITransactor, queries: ReadonlyArray<CommittedTailQuery>, options?: CommittedTailReadOptions): Promise<Map<CollectionId, CommittedTailAnswer>>;
|
|
301
343
|
/** The per-instance read wiring every open path needs, plus the collection's log ends — the
|
|
302
344
|
* header, then the log tail block it names — read by {@link readLogEnds}, the reader every
|
|
303
345
|
* refresh uses. Two requests: the tail id is known only from the header, so an open cannot ask
|
|
@@ -342,6 +384,14 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
342
384
|
* Only the tail block's entries: they are what the open read, and they hold the newest commits —
|
|
343
385
|
* the ones a durability window can tear. Invalidation entries set no floor, as on a refresh. */
|
|
344
386
|
private static floorTailEntries;
|
|
387
|
+
/** Have `clock` observe the highest HLC among the opened log's tail block entries, which the open
|
|
388
|
+
* has read but does not walk — the open's half of what a refresh's walk feeds the clock
|
|
389
|
+
* ({@link forgetAndAdopt}), so a write through this handle never mints below a write it has seen.
|
|
390
|
+
* Only the tail block, which the open read anyway; an older log block would cost a read for entries
|
|
391
|
+
* committed earlier. Their HLCs are usually lower, but not always — an offline entry keeps the HLC
|
|
392
|
+
* minted at enqueue and a retry its first attempt's (the `NOTE:` at `WriteIdentity.hlc`) — so
|
|
393
|
+
* a write may mint below an entry in an older block, one this handle never read. */
|
|
394
|
+
private static observeTailEntries;
|
|
345
395
|
/** Adopt a freshly-read action context WITHOUT ever lowering the revision already held.
|
|
346
396
|
*
|
|
347
397
|
* The revision a collection last committed at is knowledge it earned; a read that found
|
|
@@ -368,23 +418,20 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
368
418
|
* tag, two handles' lines interleave into what reads like one handle contradicting itself.
|
|
369
419
|
*
|
|
370
420
|
* Logs, does not throw — same reasoning as {@link reportShortfall}: `update()` runs
|
|
371
|
-
* blanket-style over every registered collection between commit retries
|
|
372
|
-
*
|
|
373
|
-
*
|
|
374
|
-
*
|
|
375
|
-
*
|
|
376
|
-
*
|
|
377
|
-
*
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
*
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
*
|
|
384
|
-
*
|
|
385
|
-
* — that is a behaviour change, and this seam deliberately makes none.
|
|
386
|
-
*
|
|
387
|
-
* The comparison is {@link earliestFork}, not a single lookup at the current revision: the
|
|
421
|
+
* blanket-style over every registered collection between commit retries. Whether the read is
|
|
422
|
+
* adopted, and whether it is another lineage, is {@link judgeAdoption}'s call, made before this
|
|
423
|
+
* runs so a refresh can act on it first: a refresh that ADOPTS another lineage drops its whole
|
|
424
|
+
* read cache and its floors and re-stages every staged action ({@link forgetAndAdopt},
|
|
425
|
+
* {@link mustReplay}), since everything it cached and computed was computed against a history the
|
|
426
|
+
* network does not hold; an open has no cache to drop and nothing staged. The line is therefore a
|
|
427
|
+
* PER-DISCOVERY report: adopting `next` overwrites the held lineage marker with the log's, the
|
|
428
|
+
* drop leaves the handle consistent with the log, and the next refresh compares log to log and
|
|
429
|
+
* has nothing to report. A REFUSED read leaves the held marker in place, so a fork sealed by a
|
|
430
|
+
* `collection:context-not-lowered` refusal is reported on every refresh, beside that line, with
|
|
431
|
+
* nothing dropped — bringing such a handle onto the network's lineage is reconciliation, backlog
|
|
432
|
+
* `feat-replay-mode-collections-merge-divergent-histories`.
|
|
433
|
+
*
|
|
434
|
+
* The comparison printed is {@link earliestFork}, not a single lookup at the current revision: the
|
|
388
435
|
* two `committed` lists overlap across several revisions, and the LOWEST one they disagree at
|
|
389
436
|
* is where the lineages actually parted — a fork below the current revision was previously
|
|
390
437
|
* silent. `forkRev=` names it, `heldAction=`/`readAction=` are the two ids AT it, and
|
|
@@ -401,14 +448,37 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
401
448
|
* the NOTE in {@link bootstrapContext}), which is exactly the case {@link earliestFork} has no
|
|
402
449
|
* shared revision to report on.
|
|
403
450
|
*
|
|
404
|
-
*
|
|
405
|
-
*
|
|
406
|
-
*
|
|
451
|
+
* The two printed comparisons are gated on `log.enabled`: they buy nothing when the line has no
|
|
452
|
+
* sink. Nothing the handle DOES is: the adoption and the lineage verdict behind it
|
|
453
|
+
* ({@link judgeAdoption}) run whatever the logging.
|
|
407
454
|
* Silence proves nothing either way, because a revision is only comparable when BOTH sides
|
|
408
455
|
* name an action for it: an invented collection has no context at all, a revision slot the log
|
|
409
456
|
* gave to a checkpoint or invalidation entry names none, and a revision older than the read
|
|
410
|
-
* log's most recent checkpoint has already fallen off the read side's list.
|
|
457
|
+
* log's most recent checkpoint has already fallen off the read side's list.
|
|
458
|
+
*
|
|
459
|
+
* @param adoption what adopting `next` does, as {@link judgeAdoption} answers it for the context
|
|
460
|
+
* `source` holds now — passed in by a caller that had to act on it before calling. */
|
|
411
461
|
private static advanceContext;
|
|
462
|
+
/** Whether a read context `next` is adopted over the `held` one, and whether it is another
|
|
463
|
+
* lineage ({@link Adoption}). Runs whatever the logging, because the answer is behaviour.
|
|
464
|
+
*
|
|
465
|
+
* Another lineage means the two name different actions at the HELD revision. One comparison is
|
|
466
|
+
* enough because an action id is unique per commit: two lineages that parted at or below the held
|
|
467
|
+
* revision name different actions at every revision both have reached since, the held one
|
|
468
|
+
* included. The exception, one action landing on both sides (a writer's torn retry), is the same
|
|
469
|
+
* lineage at that revision, which is the right answer. A side naming no action there is missing
|
|
470
|
+
* evidence, not disagreement, as in {@link earliestFork} — the held revision's slot went to an
|
|
471
|
+
* invalidation or checkpoint entry, or it predates the read side's most recent checkpoint — so a
|
|
472
|
+
* fork visible only below such a slot is not acted on (the line may still report it). A refused
|
|
473
|
+
* read names no action at the held revision, being below it, so `adopt-divergent` never comes
|
|
474
|
+
* with a refusal.
|
|
475
|
+
*
|
|
476
|
+
* NOTE: two {@link actionIdAt} scans per refresh that walks the log, never per read. Each searches
|
|
477
|
+
* from the end: the held side's entry is normally its last, and the read side's is as far back as
|
|
478
|
+
* the entries the walk found. Both lists truncate only at a checkpoint, which nothing writes yet
|
|
479
|
+
* (tickets/backlog/debt-the-collection-log-never-writes-a-checkpoint); if they grow long enough
|
|
480
|
+
* for that to show, index them by revision. */
|
|
481
|
+
private static judgeAdoption;
|
|
412
482
|
/** The EARLIEST revision the two contexts provably disagree about: the lowest revision both
|
|
413
483
|
* `committed` lists name an action for, where the two ids differ.
|
|
414
484
|
*
|
|
@@ -458,11 +528,18 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
458
528
|
private internalTransact;
|
|
459
529
|
/** Run `actions` through their handlers over `tracker` as ONE atomic unit: a throw from any
|
|
460
530
|
* handler leaves none of their writes staged. The live tracker's path ({@link internalTransact})
|
|
461
|
-
* and a head commit's tracker ({@link buildHeadTracker}) share it.
|
|
531
|
+
* and a head commit's tracker ({@link buildHeadTracker}) share it. Only the live tracker's
|
|
532
|
+
* commit changes what this collection's reads see ({@link viewChanged}); a head commit's tracker
|
|
533
|
+
* is private to the commit.
|
|
462
534
|
*
|
|
463
535
|
* @returns the sum of what the handlers accepted as already applied ({@link AlreadyAppliedTally});
|
|
464
536
|
* a handler that answers nothing adds the zero tally. */
|
|
465
537
|
private stageInto;
|
|
538
|
+
/** Tell {@link CollectionInitOptions.onViewChanged} that what this collection's reads see is
|
|
539
|
+
* about to change. Every caller calls it in the same synchronous step as the change itself — no
|
|
540
|
+
* `await` between them — which is what lets a reader trust "the counter did not move" as "nothing
|
|
541
|
+
* I read changed". */
|
|
542
|
+
private viewChanged;
|
|
466
543
|
/** Load external changes and update our context to the latest log revision - resolve any conflicts with our pending actions. */
|
|
467
544
|
update(): Promise<void>;
|
|
468
545
|
/** The refresh `TransactionCoordinator.commit` runs between attempts: exactly {@link update},
|
|
@@ -479,10 +556,8 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
479
556
|
* ask for another (see {@link completeOwnEntry}).
|
|
480
557
|
*
|
|
481
558
|
* `tailFloor` is optional: a revision a responder confirmed is taken, when the caller has one (see
|
|
482
|
-
* {@link updateInternal}). `TransactionCoordinator.commit`
|
|
483
|
-
*
|
|
484
|
-
* debt-multi-collection-retry-cannot-see-the-taken-revision) — and this is the parameter it will
|
|
485
|
-
* pass it through. */
|
|
559
|
+
* {@link updateInternal}). `TransactionCoordinator.commit` passes the highest one its refusals of
|
|
560
|
+
* THIS collection carried (`RetryBudget.tailFloor`), and nothing for a collection none did. */
|
|
486
561
|
refreshInFlight(report: RefreshReport, lastChance: boolean, tailFloor?: number): Promise<void>;
|
|
487
562
|
/** Finishes a half-landed write BEFORE its own log entry is consumed, so that consuming never
|
|
488
563
|
* reports a write as saved on the strength of its log entry alone.
|
|
@@ -618,8 +693,11 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
618
693
|
* replace => new instance.
|
|
619
694
|
*
|
|
620
695
|
* A SEALED segment's action list is the queue entry's own and is never rewritten (invariant 3
|
|
621
|
-
* of docs/offline-sync.md §The segment model), so the hook is not offered them.
|
|
622
|
-
*
|
|
696
|
+
* of docs/offline-sync.md §The segment model), so the hook is not offered them. The hook is the
|
|
697
|
+
* convergent lane's rule ({@link ConvergentMerge.filterConflict}): {@link doFilterConflict} offers
|
|
698
|
+
* it only an action the declaration classifies `convergent`, and keeps a serializable one as-is.
|
|
699
|
+
* `Tree` declares nothing and `Diary` declares no hook, so nothing observable changes for them
|
|
700
|
+
* either way.
|
|
623
701
|
*
|
|
624
702
|
* NOTE: a filterConflict hook that always allocates a fresh (but equal) instance instead of
|
|
625
703
|
* returning the same one forces a replay on every update — if that ever shows up as a hot path,
|
|
@@ -663,13 +741,34 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
663
741
|
* and the adopting, a concurrent read either lands before both and is forgotten with the rest,
|
|
664
742
|
* or lands after both and is judged at the adopted revision — against the floor
|
|
665
743
|
* ({@link TransactorSource.tryGet} reads its context when the answer arrives, not when it was
|
|
666
|
-
* asked for) and against the generation the clear moved (`CacheSource.stillWanted`).
|
|
744
|
+
* asked for) and against the generation the clear moved (`CacheSource.stillWanted`). That keeps
|
|
745
|
+
* each single read sound; a reader part-way through SEVERAL reads — a tree descent — can still hold
|
|
746
|
+
* blocks of the revision being left while it reads the rest at the adopted one, so it is told
|
|
747
|
+
* through {@link viewChanged}.
|
|
667
748
|
*
|
|
668
749
|
* The advance is monotonic (see {@link advanceContext}): an empty or unopenable log yields no
|
|
669
750
|
* context at all, and a log read that lags what this handle already committed yields an older
|
|
670
751
|
* one; neither is grounds for forgetting the revision held. It also has to precede
|
|
671
752
|
* {@link replayActions}, which re-reads blocks through `this.source` at whatever revision the
|
|
672
|
-
* context names — replaying first would refill the cache at the revision being left.
|
|
753
|
+
* context names — replaying first would refill the cache at the revision being left.
|
|
754
|
+
*
|
|
755
|
+
* **An adopted divergence forgets everything first** ({@link judgeAdoption}): the whole read cache
|
|
756
|
+
* and every floor, ahead of the per-entry loop so this walk's floors — the new lineage's — are the
|
|
757
|
+
* ones left standing. Not just the blocks the walked entries name: the walk covers only entries
|
|
758
|
+
* above the held revision, so the blocks the old lineage built at and below it are named by
|
|
759
|
+
* entries this handle will never walk, the cache has no expiry, and an idle refresh stops after
|
|
760
|
+
* one request while the log does not move — nothing would ever clear them. And not the floors
|
|
761
|
+
* kept: a floor raised under the old lineage is no bound on the new one, where the block may
|
|
762
|
+
* legitimately sit below it, and would make every read of it a below-floor answer for the life of
|
|
763
|
+
* the handle. The header and tail {@link keepLogEnds} offers came from the new lineage and may be
|
|
764
|
+
* kept. The staged actions were computed against the old content, so the verdict is returned for
|
|
765
|
+
* {@link mustReplay}.
|
|
766
|
+
*
|
|
767
|
+
* The handle's clock observes the highest HLC the walk read (`GetFromResult.hlcHighWater`), so a
|
|
768
|
+
* write through it never mints below an entry it has seen — whatever the verdict, since a clock
|
|
769
|
+
* only rises and the entries were read either way.
|
|
770
|
+
*
|
|
771
|
+
* @returns what the adoption did, as {@link judgeAdoption} answered it before anything changed. */
|
|
673
772
|
private forgetAndAdopt;
|
|
674
773
|
/** Put the header and log tail block {@link readLogEnds} already fetched into a handle's own
|
|
675
774
|
* cache, so the next read of either is a hit rather than a second fetch of a block just
|
|
@@ -776,7 +875,8 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
776
875
|
* claim (`collection:context-short-of-tail`, or `collection:context-not-lowered` for a handle
|
|
777
876
|
* pinned by an over-claiming tail), or an invalidation or checkpoint took the newest slot;
|
|
778
877
|
* - any action entry in the tail block naming a different action than `held` names at the same
|
|
779
|
-
* revision (`collection:lineage-divergence`, and the walk's adoption of the log's list
|
|
878
|
+
* revision (`collection:lineage-divergence`, and the walk's adoption of the log's list, which
|
|
879
|
+
* drops the read cache when it adopts another lineage — see {@link forgetAndAdopt}).
|
|
780
880
|
*
|
|
781
881
|
* NOTE: the lineage comparison sees only the entries the tail block holds. A fork below them, on
|
|
782
882
|
* a log that has not moved, is not looked at again until a refresh finds something new — that
|
|
@@ -820,7 +920,9 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
820
920
|
* (`index-backfill-cost.spec.ts`, `cold-apply-cost.spec.ts`), because the replay's reads are
|
|
821
921
|
* served from `sourceCache`. If a long transaction's reads ever show up as slow, narrow the
|
|
822
922
|
* replay to the actions whose reads the adopted entries actually invalidated — NOT back to
|
|
823
|
-
* conflicts alone, which is the defect above.
|
|
923
|
+
* conflicts alone, which is the defect above.
|
|
924
|
+
*
|
|
925
|
+
* @param adoption what the refresh's adoption did ({@link forgetAndAdopt}). */
|
|
824
926
|
private mustReplay;
|
|
825
927
|
/** Re-judge every staged update's pinned base against the read cache and re-stage the pending
|
|
826
928
|
* queue if any has moved. Runs immediately before each pend attempt — {@link syncAttempts} and
|
|
@@ -1167,6 +1269,10 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
1167
1269
|
* revision because {@link update} sees its rev is already current and refetches
|
|
1168
1270
|
* nothing. Call BEFORE resetting the tracker (the transforms are read live).
|
|
1169
1271
|
*
|
|
1272
|
+
* Tells {@link viewChanged} for the fold AND for the tracker reset that follows it, so the
|
|
1273
|
+
* caller must reset in the same synchronous step, with no `await` between the two — every
|
|
1274
|
+
* coordinator site does.
|
|
1275
|
+
*
|
|
1170
1276
|
* @param revision - the committed revision these transforms land at (from
|
|
1171
1277
|
* {@link recordCommitted}), so cached read-dependency revisions advance to it. */
|
|
1172
1278
|
applyCommittedToCache(transforms: Transforms, revision: number): void;
|
|
@@ -1233,7 +1339,7 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
1233
1339
|
*
|
|
1234
1340
|
* `cycle` is what every send of the cycle carries ({@link InFlightCycle}); a re-mark replaces it,
|
|
1235
1341
|
* which is harmless because every caller re-marks with what it marked. */
|
|
1236
|
-
beginInFlightAction(actionId: ActionId, cycle
|
|
1342
|
+
beginInFlightAction(actionId: ActionId, cycle: InFlightCycle): () => void;
|
|
1237
1343
|
/** Keep what a FAILED attempt under `actionId` sent, so that if the refresh before its retry
|
|
1238
1344
|
* finds that attempt's own log entry it can finish the action rather than assume it finished
|
|
1239
1345
|
* (see {@link inFlightAttempt} and {@link completeOwnEntry}). Every write path that marks an
|
|
@@ -1347,9 +1453,9 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
1347
1453
|
* segment; and seeds the retained attempt with `options.resume` when one is given, so that the
|
|
1348
1454
|
* opening refresh can finish an earlier cycle's torn attempt from it ({@link completeOwnEntry}) —
|
|
1349
1455
|
* and `stage()` re-sends it verbatim while the next attempt would request its revision
|
|
1350
|
-
* ({@link resumedAttempt}). The rest of `options` is the cycle's ({@link InFlightCycle}
|
|
1351
|
-
* with the in-flight mark, so the handle's `send()` and a
|
|
1352
|
-
* carry it.
|
|
1456
|
+
* ({@link resumedAttempt}). The rest of `options` is the cycle's ({@link InFlightCycle}, its lane
|
|
1457
|
+
* taken from `identity`), recorded with the in-flight mark, so the handle's `send()` and a
|
|
1458
|
+
* refresh's re-send of a torn attempt both carry it.
|
|
1353
1459
|
*
|
|
1354
1460
|
* **The target.** The live tracker holds every sealed segment and the open one, cumulatively, so
|
|
1355
1461
|
* an attempt cannot run on a copy of it the way a sync's does. It runs on a HEAD TRACKER instead
|
|
@@ -1408,8 +1514,12 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
1408
1514
|
/** The tracker a head attempt is built from (see {@link commitHead}): `current`, while it was
|
|
1409
1515
|
* built for the revision the next attempt requests and no base under it has moved; otherwise a
|
|
1410
1516
|
* fresh one ({@link buildHeadTracker}). A revision that moved is a write that is genuinely
|
|
1411
|
-
* different
|
|
1412
|
-
* {@link
|
|
1517
|
+
* different, and so is one whose held lineage moved at the same revision: a refresh between
|
|
1518
|
+
* attempts that adopted another lineage ({@link judgeAdoption}) dropped the read cache the
|
|
1519
|
+
* tracker was staged over, and an action that inserted a block computed from that content pinned
|
|
1520
|
+
* no base the re-judge below would see as moved. A base that moved at the same revision is
|
|
1521
|
+
* re-judged exactly as {@link restageIfBasesMoved} re-judges the live queue before an attempt,
|
|
1522
|
+
* and rebuilds.
|
|
1413
1523
|
* NOTE: that rebuild is the same exception to the byte-identical retry that {@link syncAttempts}
|
|
1414
1524
|
* records at its `restageIfBasesMoved` call — fresh ids for the blocks the actions insert under
|
|
1415
1525
|
* an unchanged `(action id, revision)` — reached the same narrow way and refused by storage's
|
|
@@ -1471,6 +1581,11 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
1471
1581
|
* sealed segment that staged records what its actions accepted as already applied
|
|
1472
1582
|
* (`SealedSegment.applied`), the tally the head commit reports when the segment is committed.
|
|
1473
1583
|
*
|
|
1584
|
+
* A replay changes the tree beneath unlatched readers twice over: the reset drops every block a
|
|
1585
|
+
* staged action inserted, and the re-staging inserts them again under fresh ids. Both are told
|
|
1586
|
+
* through {@link viewChanged} — the reset here, each re-staged unit in {@link stageInto} — so a
|
|
1587
|
+
* reader part-way through a descent knows to read again rather than follow an id that is gone.
|
|
1588
|
+
*
|
|
1474
1589
|
* @param unreported - a segment whose refusal is recorded but NOT reported through
|
|
1475
1590
|
* `onSealedRefused`: the one {@link restoreSealed} is inserting, whose caller reads the recorded
|
|
1476
1591
|
* refusal off the segment itself. */
|
|
@@ -1484,7 +1599,16 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
1484
1599
|
private recordSealedRefusal;
|
|
1485
1600
|
getReadDependencies(): ReadDependency[];
|
|
1486
1601
|
clearReadDependencies(): void;
|
|
1602
|
+
/** The lane of a write made of `actions` under this collection's merge declaration
|
|
1603
|
+
* ({@link CollectionInitOptions.merge}): the stricter lane over the declaration's answer for each
|
|
1604
|
+
* (`stricterLane`), `serializable` without a declaration and for an empty list. Pure. The source
|
|
1605
|
+
* of a sync's lane when its caller gave none (`SyncOptions.lane`), and of a queued entry's
|
|
1606
|
+
* (`OfflineQueue.enqueue`). */
|
|
1607
|
+
laneOf(actions: readonly Action<TAction>[]): Lane;
|
|
1487
1608
|
/** Called for each local action that may be in conflict with a remote action (always called under latch).
|
|
1609
|
+
* The merge declaration's hook ({@link ConvergentMerge.filterConflict}) decides only for an action the
|
|
1610
|
+
* declaration classifies `convergent`; a serializable action is kept as-is, since its guards decide
|
|
1611
|
+
* on replay, and so is every action of a collection with no declaration or no hook.
|
|
1488
1612
|
* @param action - The local action to check
|
|
1489
1613
|
* @param potential - The remote actions that are potentially in conflict
|
|
1490
1614
|
* @returns The effective action to keep: the original (unchanged), a replacement
|
|
@@ -1534,6 +1658,8 @@ export declare class Collection<TAction> implements ICollection<TAction> {
|
|
|
1534
1658
|
* fallback in bounded batches. */
|
|
1535
1659
|
private static readAttributed;
|
|
1536
1660
|
private static readAlone;
|
|
1661
|
+
/** The `BlockGets` fields every request of a {@link readCommittedTails} carries. */
|
|
1662
|
+
private static tailReadFields;
|
|
1537
1663
|
/** An unpinned read of the log tail block, checked as {@link checkedLogTail} describes, carrying
|
|
1538
1664
|
* `tailFloor` when the caller has one (see {@link readLogEnds}). */
|
|
1539
1665
|
private static readLogTail;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/collection/collection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAA+C,MAAM,aAAa,CAAC;AAKlL,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,OAAO,EAAE,gBAAgB,EAAiC,MAAM,oCAAoC,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,OAAO,KAAK,EAAyB,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,qBAAqB,EAAE,WAAW,EAAoB,MAAM,YAAY,CAAC;AACpP,OAAO,EAAE,kBAAkB,EAAuE,MAAM,aAAa,CAAC;AAEtH,OAAO,KAAK,EAAE,OAAO,EAAiB,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