@memberjunction/core 6.2.0-edge.2 → 6.2.0-edge.4
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/dist/generic/InMemoryLocalStorageProvider.d.ts +5 -0
- package/dist/generic/InMemoryLocalStorageProvider.d.ts.map +1 -1
- package/dist/generic/InMemoryLocalStorageProvider.js +5 -0
- package/dist/generic/InMemoryLocalStorageProvider.js.map +1 -1
- package/dist/generic/JSONType-interfaces/IEntityConfiguration.d.ts +27 -0
- package/dist/generic/JSONType-interfaces/IEntityConfiguration.d.ts.map +1 -1
- package/dist/generic/JSONType-interfaces/IEntityRelationshipConfiguration.d.ts +19 -0
- package/dist/generic/JSONType-interfaces/IEntityRelationshipConfiguration.d.ts.map +1 -1
- package/dist/generic/RegisterForStartup.d.ts +44 -0
- package/dist/generic/RegisterForStartup.d.ts.map +1 -1
- package/dist/generic/RegisterForStartup.js +124 -48
- package/dist/generic/RegisterForStartup.js.map +1 -1
- package/dist/generic/baseEngine.d.ts +214 -3
- package/dist/generic/baseEngine.d.ts.map +1 -1
- package/dist/generic/baseEngine.js +460 -34
- package/dist/generic/baseEngine.js.map +1 -1
- package/dist/generic/baseEngineSweeper.d.ts +35 -0
- package/dist/generic/baseEngineSweeper.d.ts.map +1 -0
- package/dist/generic/baseEngineSweeper.js +97 -0
- package/dist/generic/baseEngineSweeper.js.map +1 -0
- package/dist/generic/baseEntity.d.ts +91 -7
- package/dist/generic/baseEntity.d.ts.map +1 -1
- package/dist/generic/baseEntity.js +161 -16
- package/dist/generic/baseEntity.js.map +1 -1
- package/dist/generic/databaseProviderBase.d.ts +54 -11
- package/dist/generic/databaseProviderBase.d.ts.map +1 -1
- package/dist/generic/databaseProviderBase.js +129 -35
- package/dist/generic/databaseProviderBase.js.map +1 -1
- package/dist/generic/entityConfiguration.d.ts +20 -0
- package/dist/generic/entityConfiguration.d.ts.map +1 -1
- package/dist/generic/entityConfiguration.js +34 -0
- package/dist/generic/entityConfiguration.js.map +1 -1
- package/dist/generic/entityEventBatch.d.ts +124 -0
- package/dist/generic/entityEventBatch.d.ts.map +1 -0
- package/dist/generic/entityEventBatch.js +194 -0
- package/dist/generic/entityEventBatch.js.map +1 -0
- package/dist/generic/entityInfo.d.ts +57 -6
- package/dist/generic/entityInfo.d.ts.map +1 -1
- package/dist/generic/entityInfo.js +72 -7
- package/dist/generic/entityInfo.js.map +1 -1
- package/dist/generic/entityRecordNameCache.d.ts +48 -0
- package/dist/generic/entityRecordNameCache.d.ts.map +1 -0
- package/dist/generic/entityRecordNameCache.js +92 -0
- package/dist/generic/entityRecordNameCache.js.map +1 -0
- package/dist/generic/interfaces.d.ts +151 -8
- package/dist/generic/interfaces.d.ts.map +1 -1
- package/dist/generic/interfaces.js.map +1 -1
- package/dist/generic/jsonFieldBinding.d.ts +196 -0
- package/dist/generic/jsonFieldBinding.d.ts.map +1 -0
- package/dist/generic/jsonFieldBinding.js +508 -0
- package/dist/generic/jsonFieldBinding.js.map +1 -0
- package/dist/generic/localCacheManager.d.ts +278 -16
- package/dist/generic/localCacheManager.d.ts.map +1 -1
- package/dist/generic/localCacheManager.js +737 -113
- package/dist/generic/localCacheManager.js.map +1 -1
- package/dist/generic/logging.d.ts +15 -0
- package/dist/generic/logging.d.ts.map +1 -1
- package/dist/generic/logging.js +17 -0
- package/dist/generic/logging.js.map +1 -1
- package/dist/generic/metadata.d.ts +1 -1
- package/dist/generic/metadata.d.ts.map +1 -1
- package/dist/generic/metadata.js.map +1 -1
- package/dist/generic/providerBase.d.ts +252 -35
- package/dist/generic/providerBase.d.ts.map +1 -1
- package/dist/generic/providerBase.js +503 -189
- package/dist/generic/providerBase.js.map +1 -1
- package/dist/generic/runQuery.d.ts +18 -1
- package/dist/generic/runQuery.d.ts.map +1 -1
- package/dist/generic/runQuery.js.map +1 -1
- package/dist/generic/runQuerySQLFilterImplementations.d.ts +7 -1
- package/dist/generic/runQuerySQLFilterImplementations.d.ts.map +1 -1
- package/dist/generic/runQuerySQLFilterImplementations.js +65 -140
- package/dist/generic/runQuerySQLFilterImplementations.js.map +1 -1
- package/dist/generic/securityInfo.d.ts +5 -0
- package/dist/generic/securityInfo.d.ts.map +1 -1
- package/dist/generic/securityInfo.js +5 -0
- package/dist/generic/securityInfo.js.map +1 -1
- package/dist/generic/telemetryManager.d.ts +11 -0
- package/dist/generic/telemetryManager.d.ts.map +1 -1
- package/dist/generic/telemetryManager.js +43 -0
- package/dist/generic/telemetryManager.js.map +1 -1
- package/dist/generic/transactionGroup.d.ts +27 -0
- package/dist/generic/transactionGroup.d.ts.map +1 -1
- package/dist/generic/transactionGroup.js +58 -5
- package/dist/generic/transactionGroup.js.map +1 -1
- package/dist/generic/util.d.ts +6 -0
- package/dist/generic/util.d.ts.map +1 -1
- package/dist/generic/util.js +20 -0
- package/dist/generic/util.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/views/runView.d.ts +24 -0
- package/dist/views/runView.d.ts.map +1 -1
- package/dist/views/runView.js +4 -0
- package/dist/views/runView.js.map +1 -1
- package/package.json +3 -3
- package/readme.md +29 -2
|
@@ -3,6 +3,14 @@ import { AggregateResult, DatasetItemFilterType, DatasetResultType, IMetadataPro
|
|
|
3
3
|
import { AggregateExpression, RunViewParams } from "../views/runView.js";
|
|
4
4
|
import { BaseEntityEvent } from "./baseEntity.js";
|
|
5
5
|
import { CompositeKey } from "./compositeKey.js";
|
|
6
|
+
/**
|
|
7
|
+
* One change for {@link LocalCacheManager.ApplyRowChanges}: `Row` adds or replaces the row with
|
|
8
|
+
* `Key`; `Row: null` removes it.
|
|
9
|
+
*/
|
|
10
|
+
export interface CachedRowChange {
|
|
11
|
+
Key: CompositeKey;
|
|
12
|
+
Row: Record<string, unknown> | null;
|
|
13
|
+
}
|
|
6
14
|
/**
|
|
7
15
|
* The type of cache entry: dataset, runview, or runquery
|
|
8
16
|
*/
|
|
@@ -252,6 +260,17 @@ export interface CacheChangedEvent {
|
|
|
252
260
|
* For `'removed'` and `'category_cleared'` actions, this is `undefined`.
|
|
253
261
|
*/
|
|
254
262
|
Data?: string;
|
|
263
|
+
/**
|
|
264
|
+
* Monotonic counter shared by every server, incremented once per shared-cache mutation.
|
|
265
|
+
*
|
|
266
|
+
* For recovery rather than ordering: a subscriber that was disconnected cannot see what pub/sub
|
|
267
|
+
* did not replay, so it records the highest epoch it has seen and compares that with the current
|
|
268
|
+
* value on reconnect to learn whether anything was invalidated meanwhile.
|
|
269
|
+
*
|
|
270
|
+
* Optional — transports without the counter omit it, and consumers that do not reconcile can
|
|
271
|
+
* ignore it.
|
|
272
|
+
*/
|
|
273
|
+
Epoch?: number;
|
|
255
274
|
}
|
|
256
275
|
/**
|
|
257
276
|
* Storage categories for organizing cache data.
|
|
@@ -318,6 +337,12 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
318
337
|
* (e.g., TransactionGroup batch deletes).
|
|
319
338
|
*/
|
|
320
339
|
private _fingerprintLocks;
|
|
340
|
+
/** Logged once when a local TTL is configured against a shared store. See {@link runEvictionSweep}. */
|
|
341
|
+
private _sharedTTLWarned;
|
|
342
|
+
/** Open entity-event batches. See {@link BeginEntityEventBatch}. */
|
|
343
|
+
private _entityEventBatches;
|
|
344
|
+
/** Save/delete events a batch took when they were raised. See {@link WasTakenByEntityEventBatch}. */
|
|
345
|
+
private _eventsTakenByBatch;
|
|
321
346
|
private readonly REGISTRY_KEY;
|
|
322
347
|
/**
|
|
323
348
|
* Reverse index from entity name to the set of RunView cache fingerprints
|
|
@@ -330,11 +355,15 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
330
355
|
* Initialize the cache manager with a storage provider.
|
|
331
356
|
* This should be called during app startup after the storage provider is available.
|
|
332
357
|
*
|
|
333
|
-
*
|
|
334
|
-
*
|
|
358
|
+
* Safe to call repeatedly: the cache is initialized once, but **a `config` passed by a later
|
|
359
|
+
* caller is still applied**. That matters because a database provider initializes this manager
|
|
360
|
+
* from inside its own `Config()` — before the host has a chance to pass anything — so a host
|
|
361
|
+
* that hands its settings to `StartupManager` would otherwise have them silently dropped, and
|
|
362
|
+
* every `cacheSettings` knob would be inert. The host's explicit settings win
|
|
363
|
+
* over the provider's implicit initialization, whichever runs first.
|
|
335
364
|
*
|
|
336
365
|
* @param storageProvider - The local storage provider to use for persistence
|
|
337
|
-
* @param config - Optional configuration overrides
|
|
366
|
+
* @param config - Optional configuration overrides, applied even when already initialized
|
|
338
367
|
* @returns A promise that resolves when initialization is complete
|
|
339
368
|
*/
|
|
340
369
|
Initialize(storageProvider: ILocalStorageProvider, config?: Partial<LocalCacheManagerConfig>): Promise<void>;
|
|
@@ -359,6 +388,17 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
359
388
|
* Internal initialization logic - only called once by the first caller
|
|
360
389
|
*/
|
|
361
390
|
private doInitialize;
|
|
391
|
+
private _initializedListeners;
|
|
392
|
+
/**
|
|
393
|
+
* Runs `listener` once the cache manager is initialized — immediately if it already is.
|
|
394
|
+
* Lets code that ran too early (an engine loaded before startup initialized the cache) finish
|
|
395
|
+
* its cache wiring later instead of never.
|
|
396
|
+
*
|
|
397
|
+
* @param listener - Called once; errors are logged and do not affect other listeners
|
|
398
|
+
*/
|
|
399
|
+
WhenInitialized(listener: () => void): void;
|
|
400
|
+
private runInitializedListener;
|
|
401
|
+
private notifyInitialized;
|
|
362
402
|
/**
|
|
363
403
|
* Returns whether the cache manager has been initialized
|
|
364
404
|
*/
|
|
@@ -368,7 +408,8 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
368
408
|
*/
|
|
369
409
|
get Config(): LocalCacheManagerConfig;
|
|
370
410
|
/**
|
|
371
|
-
* Updates the configuration at runtime
|
|
411
|
+
* Updates the configuration at runtime, and re-arms the eviction sweep so a changed interval
|
|
412
|
+
* (or a disabled cache) takes effect immediately instead of at the next restart.
|
|
372
413
|
*/
|
|
373
414
|
UpdateConfig(config: Partial<LocalCacheManagerConfig>): void;
|
|
374
415
|
/**
|
|
@@ -427,6 +468,23 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
427
468
|
* in-place mutation (`canUseImmediateMutation`); this closes the same gap in the raw
|
|
428
469
|
* provider cache. (B42)
|
|
429
470
|
*
|
|
471
|
+
* Maintaining the order in place was built and then withdrawn, so the payoff is on record rather
|
|
472
|
+
* than left to be rediscovered. It is possible for a narrow subset — plain column terms over
|
|
473
|
+
* numeric/date/boolean fields with no NULLs present, where JavaScript and SQL provably agree —
|
|
474
|
+
* but the subset is where the value dies, not the implementation. Of 918 RunView param literals
|
|
475
|
+
* in this repo, 289 carry an ORDER BY, 112 are also unfiltered and uncapped (the only ones a slot
|
|
476
|
+
* could maintain), and roughly 26 fall in that type subset, several of which order on a
|
|
477
|
+
* uniqueidentifier and are refused anyway. The survivors are about a dozen configuration and
|
|
478
|
+
* admin lists — API keys, credentials, view types, schema info — saved rarely, so the saving is a
|
|
479
|
+
* handful of small indexed reads per day. High-write entities gain nothing: every ordered read of
|
|
480
|
+
* MJ: AI Agent Runs, MJ: Conversation Details and MJ: AI Prompt Runs is FILTERED, so their slots
|
|
481
|
+
* land in the invalidate branch regardless. Against that, the cost is a comparator that must keep
|
|
482
|
+
* agreeing with SQL collation and NULL placement across dialects forever, whose failure mode is a
|
|
483
|
+
* silently reordered list in a slot other readers treat as authoritative. Widening it to strings —
|
|
484
|
+
* by far the largest bucket, `Name` — means owning collation per dialect and per column.
|
|
485
|
+
*
|
|
486
|
+
* If you are about to attempt this, the measurement above is the argument not to.
|
|
487
|
+
*
|
|
430
488
|
* @param parts - the fingerprint already split on '|'
|
|
431
489
|
*/
|
|
432
490
|
protected hasOrderBy(parts: string[]): boolean;
|
|
@@ -544,6 +602,23 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
544
602
|
* @returns true if the entry is stale and should not be served
|
|
545
603
|
*/
|
|
546
604
|
private isSchemaStaleCacheEntry;
|
|
605
|
+
/**
|
|
606
|
+
* The newest `__mj_UpdatedAt` among `rows` as an ISO string, `''` for an empty set, or
|
|
607
|
+
* `undefined` when the rows carry no such column (so the caller can fall back to its own stamp).
|
|
608
|
+
* Mirrors how the RunView fill path stamps a slot.
|
|
609
|
+
*/
|
|
610
|
+
static MaxUpdatedAtOfRows(rows: ReadonlyArray<unknown>): string | undefined;
|
|
611
|
+
/**
|
|
612
|
+
* Storage write options for a RunView slot: the entity name as index group, so a shared
|
|
613
|
+
* provider can find the slot from any process, and the time left before the slot's own expiry
|
|
614
|
+
* (external-data-source entities), so a rewrite does not extend it.
|
|
615
|
+
*
|
|
616
|
+
* @param fingerprint - The slot key
|
|
617
|
+
* @param expiresAt - Absolute expiry (ms since epoch), when the slot has one
|
|
618
|
+
*/
|
|
619
|
+
private runViewWriteOptions;
|
|
620
|
+
/** Storage write options for any registry entry; only RunView slots are indexed. */
|
|
621
|
+
private writeOptionsForEntry;
|
|
547
622
|
/**
|
|
548
623
|
* Adds a fingerprint to the entity→fingerprint reverse index.
|
|
549
624
|
* Called when a RunView result is cached.
|
|
@@ -560,11 +635,14 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
560
635
|
*/
|
|
561
636
|
GetFingerprintsForEntity(entityName: string): ReadonlySet<string>;
|
|
562
637
|
/**
|
|
563
|
-
* Resolves cached fingerprints for an entity,
|
|
564
|
-
*
|
|
565
|
-
*
|
|
566
|
-
*
|
|
567
|
-
*
|
|
638
|
+
* Resolves cached fingerprints for an entity: this process's own index, plus — on a storage
|
|
639
|
+
* provider shared between processes — the slots other processes wrote.
|
|
640
|
+
*
|
|
641
|
+
* A save on server A has to reach slots server B wrote after A booted, because nothing else
|
|
642
|
+
* will: B only hears about A's save through the slots A rewrites. A shared provider therefore
|
|
643
|
+
* answers from its per-entity index ({@link ILocalStorageProvider.GetIndexGroupKeys}) on every
|
|
644
|
+
* call. A provider without that index is process-local or cannot enumerate cheaply, and keeps
|
|
645
|
+
* the older behaviour: the category is listed only when the local index knows nothing.
|
|
568
646
|
*/
|
|
569
647
|
private resolveFingerprintsForEntity;
|
|
570
648
|
/**
|
|
@@ -582,6 +660,118 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
582
660
|
* @param entityEvent - The BaseEntity event payload
|
|
583
661
|
*/
|
|
584
662
|
protected HandleBaseEntityEvent(entityEvent: BaseEntityEvent): Promise<void>;
|
|
663
|
+
/**
|
|
664
|
+
* Opens a batch for `owner` (normally a provider), or enters the one already open. Until the
|
|
665
|
+
* matching {@link EndEntityEventBatch}, saves and deletes raised by entities that use `owner`
|
|
666
|
+
* as their provider are recorded instead of applied; closing the batch rewrites each affected
|
|
667
|
+
* slot once. `DatabaseProviderBase.BeginEntityTransaction` opens one for every transaction, so
|
|
668
|
+
* callers rarely need this directly — {@link RunInEntityEventBatch} is the wrapper for bulk
|
|
669
|
+
* writers that do not use a transaction.
|
|
670
|
+
*
|
|
671
|
+
* Every call must be paired with exactly one {@link EndEntityEventBatch}.
|
|
672
|
+
*/
|
|
673
|
+
BeginEntityEventBatch(owner: object): void;
|
|
674
|
+
/**
|
|
675
|
+
* Replaces a RunView slot wholesale while holding the cross-process lock for it.
|
|
676
|
+
*
|
|
677
|
+
* The event-driven path already reads-modifies-writes under that lock; a writer that replaces
|
|
678
|
+
* the same slot outside it can land between a peer's read and its write, and whichever `SET`
|
|
679
|
+
* lands second wins — the engine sweep's fresh rows lost, or the peer's delta lost, and either
|
|
680
|
+
* way the losing state is published to the fleet.
|
|
681
|
+
*/
|
|
682
|
+
ReplaceRunViewResultLocked(fingerprint: string, params: RunViewParams, results: unknown[], maxUpdatedAt: string, totalRowCount: number, provider?: IMetadataProvider): Promise<boolean>;
|
|
683
|
+
/** Milliseconds left on a slot's expiry, or undefined when it has none. @internal */
|
|
684
|
+
private remainingTTLForSlot;
|
|
685
|
+
/**
|
|
686
|
+
* Abandons `owner`'s batch at any depth and invalidates every slot it touched.
|
|
687
|
+
*
|
|
688
|
+
* For an owner that cannot settle its batch normally: an independent provider instance being
|
|
689
|
+
* released with a transaction still open, or a transaction handle reset after a failure. The
|
|
690
|
+
* buffered rows may or may not have reached the database, so the affected slots are invalidated
|
|
691
|
+
* rather than written, and the entities stop counting as pending — a batch left open makes
|
|
692
|
+
* every cached read of its entities miss, for the life of the process.
|
|
693
|
+
*
|
|
694
|
+
* Never throws. Safe when no batch is open.
|
|
695
|
+
*/
|
|
696
|
+
AbandonEntityEventBatch(owner: object): Promise<void>;
|
|
697
|
+
/**
|
|
698
|
+
* Leaves one level of `owner`'s batch. Closing the outermost level applies the batch: with
|
|
699
|
+
* every level successful, each affected slot is rewritten once with all its changes; if any
|
|
700
|
+
* level failed (a rollback), the affected slots are invalidated instead, so every server reloads
|
|
701
|
+
* them from the database. Never throws.
|
|
702
|
+
*
|
|
703
|
+
* @param owner - The object passed to {@link BeginEntityEventBatch}
|
|
704
|
+
* @param succeeded - False when the work this level covered was rolled back or failed
|
|
705
|
+
*/
|
|
706
|
+
EndEntityEventBatch(owner: object, succeeded: boolean): Promise<void>;
|
|
707
|
+
/**
|
|
708
|
+
* Claims a named lease on the storage provider for `ttlMs`: on a shared store only one process
|
|
709
|
+
* gets it per period; on a private store the caller always does. A lease that cannot be
|
|
710
|
+
* checked is reported as not claimed.
|
|
711
|
+
*/
|
|
712
|
+
TryAcquireSharedLease(name: string, ttlMs: number): Promise<boolean>;
|
|
713
|
+
/** One lease attempt: claimed, held by another process, or the store could not be asked. */
|
|
714
|
+
private claimLease;
|
|
715
|
+
/**
|
|
716
|
+
* Extends a lease this process already holds, so long-running work keeps its turn. Falls back
|
|
717
|
+
* to re-claiming when the store has no dedicated renewal, which is a no-op for anyone else's
|
|
718
|
+
* lease because the claim is `SET NX`. Never throws.
|
|
719
|
+
*
|
|
720
|
+
* @returns true when the lease is still (or again) held by this process.
|
|
721
|
+
*/
|
|
722
|
+
RenewSharedLease(name: string, ttlMs: number): Promise<boolean>;
|
|
723
|
+
/** Ends a lease claimed with {@link TryAcquireSharedLease}. Never throws. */
|
|
724
|
+
ReleaseSharedLease(name: string): Promise<void>;
|
|
725
|
+
/**
|
|
726
|
+
* Waits until this process claims the lease, polling every `pollMs`, for at most `maxWaitMs`.
|
|
727
|
+
* @returns Whether the lease was claimed, and how long the wait took.
|
|
728
|
+
*/
|
|
729
|
+
WaitForSharedLease(name: string, ttlMs: number, maxWaitMs: number, pollMs?: number): Promise<{
|
|
730
|
+
Acquired: boolean;
|
|
731
|
+
WaitedMs: number;
|
|
732
|
+
}>;
|
|
733
|
+
/** True while a batch is open for `owner`. */
|
|
734
|
+
IsBatchingEntityEvents(owner: object | null | undefined): boolean;
|
|
735
|
+
/**
|
|
736
|
+
* True when a batch took `entityEvent` as it was raised, so closing that batch maintains every
|
|
737
|
+
* slot indexed for the entity. A listener that reaches its cache write only after an `await`
|
|
738
|
+
* asks this instead of {@link IsBatchingEntityEvents}: by then the batch may have closed, and
|
|
739
|
+
* a write of its own would rewrite the slot once per event.
|
|
740
|
+
*/
|
|
741
|
+
WasTakenByEntityEventBatch(entityEvent: BaseEntityEvent): boolean;
|
|
742
|
+
/**
|
|
743
|
+
* Runs `work` inside an entity-event batch for `owner` and applies the batch when it finishes
|
|
744
|
+
* (as a failure when `work` throws). Use for bulk writes that do not already run in a
|
|
745
|
+
* transaction.
|
|
746
|
+
*/
|
|
747
|
+
RunInEntityEventBatch<T>(owner: object, work: () => Promise<T>): Promise<T>;
|
|
748
|
+
/**
|
|
749
|
+
* Records a save/delete in the batch open for the entity's provider.
|
|
750
|
+
* @returns True when the event was taken by a batch (or needs no cache work at all).
|
|
751
|
+
*/
|
|
752
|
+
private bufferIfBatching;
|
|
753
|
+
/**
|
|
754
|
+
* True when `fingerprint`'s entity has changes waiting in an open batch. Such a slot is behind
|
|
755
|
+
* what the unit of work has written, so reads treat it as a miss (the database answers,
|
|
756
|
+
* including the uncommitted rows for a reader inside the transaction) and fills are not stored.
|
|
757
|
+
*/
|
|
758
|
+
private isPendingInBatch;
|
|
759
|
+
/**
|
|
760
|
+
* The change a save/delete event describes, captured now — the entity object can change (or,
|
|
761
|
+
* after a delete, be reset) before a batch closes. Null when the event needs no cache work.
|
|
762
|
+
*/
|
|
763
|
+
private captureEntityChange;
|
|
764
|
+
/** Applies a closed batch; see {@link EndEntityEventBatch}. */
|
|
765
|
+
private applyEntityEventBatch;
|
|
766
|
+
/** Invalidates every entity a batch touched — for a batch that failed or was abandoned. */
|
|
767
|
+
private invalidateBatchEntities;
|
|
768
|
+
/** Applies one entity's buffered changes to every slot indexed for it, each slot once. */
|
|
769
|
+
private applyEntityChanges;
|
|
770
|
+
/**
|
|
771
|
+
* One slot, several changes: the same decisions {@link processEntityEventForFingerprint} makes
|
|
772
|
+
* per event, made once for the whole list.
|
|
773
|
+
*/
|
|
774
|
+
private applyEntityChangesToSlot;
|
|
585
775
|
/**
|
|
586
776
|
* Handles remote-invalidate events that include recordData (the saved entity as JSON).
|
|
587
777
|
* Updates all cached RunView results for the entity without a server round-trip.
|
|
@@ -626,6 +816,20 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
626
816
|
* Decomposed from HandleBaseEntityEvent for clarity and testability.
|
|
627
817
|
*/
|
|
628
818
|
private processEntityEventForFingerprint;
|
|
819
|
+
/**
|
|
820
|
+
* Handles a save/delete that could not be applied to a slot this process indexed — in practice
|
|
821
|
+
* because the slot expired or was removed by someone else.
|
|
822
|
+
*
|
|
823
|
+
* Rewriting the slot is how peer servers hear about the change: their engines hold the rows in
|
|
824
|
+
* memory and never read the slot again, so a slot that expired while they were running leaves
|
|
825
|
+
* nothing to rewrite and the change would never reach them. Invalidating instead publishes a
|
|
826
|
+
* `removed` event on a shared provider, which makes every peer engine tracking the slot reload
|
|
827
|
+
* it from the database. It also drops the dead fingerprint from this process's index.
|
|
828
|
+
*
|
|
829
|
+
* @param fingerprint - The slot the event was applied to
|
|
830
|
+
* @param maintained - What the in-place upsert/remove reported
|
|
831
|
+
*/
|
|
832
|
+
private invalidateIfNotMaintained;
|
|
629
833
|
/**
|
|
630
834
|
* Map from cache fingerprint (or category for category_cleared events) to
|
|
631
835
|
* registered {@link CacheChangedEvent} callbacks. Callbacks are invoked when
|
|
@@ -664,9 +868,8 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
664
868
|
* fingerprint. Called by infrastructure code (e.g., {@link RedisLocalStorageProvider})
|
|
665
869
|
* when another server modifies a cached entry.
|
|
666
870
|
*
|
|
667
|
-
* For `category_cleared` events, dispatches to ALL registered
|
|
668
|
-
*
|
|
669
|
-
* which contains the category name).
|
|
871
|
+
* For `category_cleared` events on the RunView category, dispatches to ALL registered
|
|
872
|
+
* callbacks (they all watch RunView slots); a clear of any other category reaches none.
|
|
670
873
|
*
|
|
671
874
|
* Errors in individual callbacks are caught and logged via {@link LogError}
|
|
672
875
|
* to prevent one bad callback from blocking others.
|
|
@@ -881,6 +1084,8 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
881
1084
|
* @returns The cached results, maxUpdatedAt, rowCount (derived), and aggregateResults, or null if not found
|
|
882
1085
|
*/
|
|
883
1086
|
GetRunViewResult(fingerprint: string): Promise<CachedRunViewResult | null>;
|
|
1087
|
+
/** {@link GetRunViewResult} without the open-batch check; slot maintenance reads through this. */
|
|
1088
|
+
private readRunViewSlot;
|
|
884
1089
|
/**
|
|
885
1090
|
* Batched retrieval for many cached RunView results in a single underlying
|
|
886
1091
|
* IndexedDB transaction (or Redis MGET, or one in-memory pass — depends on
|
|
@@ -913,6 +1118,30 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
913
1118
|
* since the entry was cached, the entry is invalidated and null is returned.
|
|
914
1119
|
*/
|
|
915
1120
|
private materializeCachedRunViewResult;
|
|
1121
|
+
/**
|
|
1122
|
+
* Records a slot this process READ, so a later save can still find it once it has expired.
|
|
1123
|
+
*
|
|
1124
|
+
* An engine loads its rows once and never reads its slot again — that is the design, not a
|
|
1125
|
+
* defect: the slot is a boot shortcut and a propagation channel, and correctness comes from
|
|
1126
|
+
* events. Giving slots a finite expiry opened a window those events could not cross. When a
|
|
1127
|
+
* slot expires under running replicas, a save finds nothing to rewrite and publishes nothing,
|
|
1128
|
+
* so every peer engine keeps serving what it loaded.
|
|
1129
|
+
*
|
|
1130
|
+
* The fix — invalidate a slot that cannot be maintained, which publishes `removed` — only
|
|
1131
|
+
* fires if the saving process still holds the fingerprint, and only the process that WROTE the
|
|
1132
|
+
* slot did. A server that booted warm read it instead, and a read indexed nothing; behind a
|
|
1133
|
+
* load balancer, which server takes the save is arbitrary. A warm read is the only trace such a
|
|
1134
|
+
* process has of that slot, so it is indexed too.
|
|
1135
|
+
*
|
|
1136
|
+
* Gated on the provider exposing a shared per-entity index, which is exactly the case
|
|
1137
|
+
* {@link resolveFingerprintsForEntity} answers from that index — with no category-scan
|
|
1138
|
+
* fallback. On a process-local store there is nothing to gain (no peers to notify, and every
|
|
1139
|
+
* slot in it was written by this process, so it is already indexed) and something to lose: a
|
|
1140
|
+
* non-empty index SUPPRESSES that fallback scan, which is what finds persisted slots the index
|
|
1141
|
+
* does not know about.
|
|
1142
|
+
* @internal
|
|
1143
|
+
*/
|
|
1144
|
+
private indexSlotThisProcessDidNotWrite;
|
|
916
1145
|
/**
|
|
917
1146
|
* Invalidates a cached RunView result.
|
|
918
1147
|
*
|
|
@@ -948,6 +1177,14 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
948
1177
|
* @returns The merged results after applying the differential update, or null if cache not found
|
|
949
1178
|
*/
|
|
950
1179
|
ApplyDifferentialUpdate(fingerprint: string, params: RunViewParams, updatedRows: unknown[], deletedRecordIDs: string[], primaryKeyFieldNames: string | string[], newMaxUpdatedAt: string, serverRowCount?: number, aggregateResults?: AggregateResult[], provider?: IMetadataProvider): Promise<CachedRunViewResult | null>;
|
|
1180
|
+
/**
|
|
1181
|
+
* Runs an in-place slot rewrite under {@link withFingerprintLock}. When the lock itself fails
|
|
1182
|
+
* (a shared lock another server held too long), reports the rewrite as not done rather than
|
|
1183
|
+
* throwing, so the caller's fallback — invalidate the slot, making every server reload —
|
|
1184
|
+
* applies.
|
|
1185
|
+
*/
|
|
1186
|
+
private maintainSlotLocked;
|
|
1187
|
+
private withFingerprintLock;
|
|
951
1188
|
/**
|
|
952
1189
|
* Upserts a single entity in a cached RunView result.
|
|
953
1190
|
* Used by BaseEngine for immediate cache sync when an entity is saved.
|
|
@@ -958,12 +1195,10 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
958
1195
|
* (e.g., 3 deletes from a TransactionGroup), each read-modify-write cycle
|
|
959
1196
|
* must complete before the next one starts for the same fingerprint.
|
|
960
1197
|
* Different fingerprints run concurrently with no contention.
|
|
961
|
-
|
|
962
|
-
private withFingerprintLock;
|
|
963
|
-
/**
|
|
1198
|
+
*
|
|
964
1199
|
* @param fingerprint - The cache fingerprint to update
|
|
965
1200
|
* @param entityData - The entity data as a plain object (use entity.GetAll())
|
|
966
|
-
* @param
|
|
1201
|
+
* @param key - The record's primary key
|
|
967
1202
|
* @param newMaxUpdatedAt - New maxUpdatedAt timestamp (from entity's __mj_UpdatedAt)
|
|
968
1203
|
* @returns true if cache was updated, false if cache not found or update failed
|
|
969
1204
|
*/
|
|
@@ -978,6 +1213,23 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
978
1213
|
* @returns true if cache was updated, false if cache not found or update failed
|
|
979
1214
|
*/
|
|
980
1215
|
RemoveSingleEntity(fingerprint: string, key: CompositeKey, newMaxUpdatedAt: string): Promise<boolean>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Applies several row changes to one cached RunView result in a single read-modify-write:
|
|
1218
|
+
* each change with a `Row` adds or replaces that row, each with `Row: null` removes it, in
|
|
1219
|
+
* order. The slot is written once, and not at all when only removals of absent rows were asked.
|
|
1220
|
+
* All keys must name the same primary-key fields.
|
|
1221
|
+
*
|
|
1222
|
+
* @returns true if the slot now reflects the changes, false if it was not cached or the update failed
|
|
1223
|
+
*/
|
|
1224
|
+
ApplyRowChanges(fingerprint: string, changes: ReadonlyArray<CachedRowChange>, newMaxUpdatedAt: string): Promise<boolean>;
|
|
1225
|
+
/**
|
|
1226
|
+
* Rows keyed by a cheap delimiter-joined PK string (no per-row CompositeKey/KeyValuePair
|
|
1227
|
+
* allocation); matching is consistent because {@link cheapKeyFromCompositeKey} uses the same
|
|
1228
|
+
* format. Rows missing a PK value are dropped.
|
|
1229
|
+
*/
|
|
1230
|
+
private indexRowsByKey;
|
|
1231
|
+
/** Applies `changes` to `rows` in order. @returns True when anything changed. */
|
|
1232
|
+
private applyChangesToRowMap;
|
|
981
1233
|
/**
|
|
982
1234
|
* Stores updated results array back to the cache and updates the registry.
|
|
983
1235
|
* Shared by UpsertSingleEntity and RemoveSingleEntity to avoid duplication.
|
|
@@ -1122,6 +1374,14 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
1122
1374
|
* Records an access to a cache entry (updates lastAccessedAt and accessCount).
|
|
1123
1375
|
*/
|
|
1124
1376
|
private recordAccess;
|
|
1377
|
+
/**
|
|
1378
|
+
* True when the registry must stay in this process: the storage is shared with other
|
|
1379
|
+
* processes, so a persisted registry would be one key every server overwrites with its own
|
|
1380
|
+
* view (and publishes to every peer on each write), and a booting server would adopt another
|
|
1381
|
+
* server's accounting. Entries written by other processes are found through the provider's
|
|
1382
|
+
* per-entity index instead ({@link resolveFingerprintsForEntity}).
|
|
1383
|
+
*/
|
|
1384
|
+
private registryIsProcessLocalOnly;
|
|
1125
1385
|
/**
|
|
1126
1386
|
* Loads the registry from storage.
|
|
1127
1387
|
*/
|
|
@@ -1200,5 +1460,7 @@ export declare class LocalCacheManager extends BaseSingleton<LocalCacheManager>
|
|
|
1200
1460
|
* or entries for entities that are over their per-entity cap.
|
|
1201
1461
|
*/
|
|
1202
1462
|
private runEvictionSweep;
|
|
1463
|
+
/** Drops one entry from the registry and the fingerprint index, leaving the store alone. @internal */
|
|
1464
|
+
private forgetRegistryEntry;
|
|
1203
1465
|
}
|
|
1204
1466
|
//# sourceMappingURL=localCacheManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localCacheManager.d.ts","sourceRoot":"","sources":["../../src/generic/localCacheManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAyB,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACnI,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAA4B,MAAM,kBAAkB,CAAC;AAEhG,OAAO,EAAc,eAAe,EAAE,MAAM,cAAc,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAgB,MAAM,gBAAgB,CAAC;AAwD5D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEhE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B,kBAAkB;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,0BAA0B;IAC1B,IAAI,EAAE,cAAc,CAAC;IACrB,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yCAAyC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,sBAAsB;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,0BAA0B;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mEAAmE;IACnE,QAAQ,C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